I have float variables like 4.101814. How can I reduce its lenght to 2, so it would look like this: 4.10
asked Aug 22 '11 at 03:33 PM
If you want to display the float as string you should use a custom format string.
In your case
answered Aug 22 '11 at 04:39 PM