I have text nodes that are showing numbers pulled from points spaced along a curve with the '.DistanceAlongCurve' operator.
These numbers are being shown with 1 decimal place, as these are all whole numbers the decimal numbers are all 0 I don't want to shown them.
Please see the image below.
How can this be done?
Thanks in advance,
You could format it as either an integer or a string (text), that way you know what will be placed
The .0 after the value signifies that it is a floating type number. If you do not want to see the .0 after the number then you can use the function ToInt(), before passing the value in the text node. See the attached image for reference. I hope this helps with your query.
Answer Verified By: Tom Williams
That's great Alifur, thanks for your help!