String from Object with formatting

Hi, can someone please explain me the behaviour of Dynamo when converting a number to a text string? I need to round it and have zeros at the end. I don’t want them to be suppressed.

image

It’s a display issue, it’s a known ‘feature’ see here and here on GitHub
If you work with python it keeps the decimals, just doesn’t show them. String from Object will truncate numbers with over 6 decimals

1 Like

Hola Amigos, in the words of Jacob: “it’s a bit janky”, maybe using the code block option!

2 Likes