Trouble with "fix" function in Expression tool

Hi guys/girls

here is 2 points coming from 2 different files to export a CSV file for structural calculation.


I’am trying to round those point coordinate with the “fix” function in Expression tool.
The entering coordinate seems to e the same, but aren’t rounded the same way at the end…
any help ?

expression-trouble.gh (9.4 KB)

few minutes after I post I found myself a solution :

not sure I like it that much but it seems to work…

You can do coordinate formatting (rounding to 2 decimal places?) in one shot with this expression. At the link below you can find other formatting options if you need additional control for non-zero decimal places.

1 Like

THanks!!!