When you convert a Float to a String (say, for example, to put the value in a TextField) it gives you the result to a certain number of decimal places depending on the size of the value.
Is there any easy way to force 2 decimal places, or is the only way to do it to run through the string until the decimal point is found, then cut it off two characters later?
Cheers.
Is there any easy way to force 2 decimal places, or is the only way to do it to run through the string until the decimal point is found, then cut it off two characters later?
Cheers.