I am looking for a way to concatenate numbers as a string, so they can be pushed back to a Revit family parameter. However, when these values become a string from object, a lot of zeros are added. I would like to have it without zero’s, so I would only like to keep the 3075 and 800. Is that somehow possible?
@sovitek’s example with Math.Floor is the easiest solution. The “issue” comes from the numbers being formatted as doubles. Converting them to integers before stringifying them leaves out the trailing zeros.