Is there a function that sets the format of a number to 3 digits for example:
The reason i want this is for displaying continually changing data on the screen, but the label size is limited due to space.
I can create a function to check and then output depending on the value i just thought i would ask if there were any built in functions to save me the time.
Any help is appreciated.
Thanks
The value held is 0.2345, i want it to display 0.23
The value changes to 12.567, i want it to display 12.5
The value changes again to 123.4, i want it to display 123
As you can see the output os always 3 digits (some with a decimal point)
The reason i want this is for displaying continually changing data on the screen, but the label size is limited due to space.
I can create a function to check and then output depending on the value i just thought i would ask if there were any built in functions to save me the time.
Any help is appreciated.
Thanks