| Version 2 (modified by , 8 years ago) ( diff ) |
|---|
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
Note:
See TracWiki
for help on using the wiki.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/cardinal.gif)