How to make text whole numbers?

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,

Tom

Parents
  • Hello Tom, 

    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. 

     

    Regards,
    Alifur

    Answer Verified By: Tom Williams 

Reply
  • Hello Tom, 

    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. 

     

    Regards,
    Alifur

    Answer Verified By: Tom Williams 

Children