I’m trying to put together a setup in XPresso to create a text output with a string of numbers controlled by a float slider. Seems easy enough, except I need the numbers to extend 4 decimal places. Its for a readout display to indicate degree angle, so the display should go from 0.0000º to 360.0000º.
In the User Data, I can only set the step size to 3 decimal places and I need to go to 4.
There is a System Preset node called Set Decimals, in the String session.
Just feed it with the number in the Value port and the number of decimal places in the Following port.
The result is a String with the decimal places clamped.
If you set the number of decimal places to 0, it will round to the nearest integer.