FloatToStr
Convert floating point number to string
string FloatToStr(float val, int precision);
Parameters
- val - floating point value
- precision - optional - how many decimal places to show
Return Value
- Returns the string representation of the number
Remarks
Example
float val = 12.3; string s = FloatToStr(val); DisplayText(0, 0, s);
See Also
Last modified
7 years ago
Last modified on 04/12/18 13:07:44
Note:
See TracWiki
for help on using the wiki.