FANDOM


// Convert fFloat into a string.
// - nWidth should be a value from 0 to 18 inclusive.
// - nDecimals should be a value from 0 to 9 inclusive.
string FloatToString(float fFloat, int nWidth=18, int nDecimals=9);

Note: FloatToString() will prepend space characters before the left side of the decimal to extend the result to nWidth. Be aware of this if attempting to iterate through the returned string.