FloatToString
From Dragon Age Toolset Wiki
Converts a floating point number to a string.
- Parameters:
- fFloat
- The float value to convert
- nWidth
- The size of the value before the decimal, must be a value between 0 and 18 inclusive
- nDecimals
- The number of decimal places, must be a value between 0 and 9 inclusive
- Returns:
- Returns a string representation of the specified floating point number.
- Source:
- script.ldf
Description
Returns the float fFloat in string format. The string Will include nWidth number of digits before the decimal place and nDecimals number of digits after the decimal place.