I'm tryng to animate a text that display the distance between two objects.
I reach to add a scripted operator and to connect it to a ctr_dist value.
The problem is that the value I obtain with GetValue is a floating point with 16 decimals.
Here te result:
How I can reduce the number of decimals? I need to display only one or two decimals.
I tried also to convert the value from Float to Integer and creating two animated text, but as you can see in the pictures, the values are (obviously) approximated to the near integer and so, a value of 8,61 is displayed as 9.
Anyone knows how to solve it?