Rounding point coordinates for structural foundations

Hello all,

With the help of some of you i created a workflow to automatically number all my structural foundations based on their X and Y location. It works great but now i have run into some trouble…

These are numbered from right to left instead of from left to right and i think the problem is in the decimals of the coordinates.

I bet there is a very easy way to round these numbers to the nearest milimeter that i dont know of yet…

Is there someone who can help me add a codeblock that will round off any coordinate by less than shown in the image above?

There are four elements in the above screenshot but i am mainly interested in the first two since they are numbered incorrectly.

Math.Tound node should work here.

It worked!
Thank you very much, Jacob!

1 Like