Changes between Initial Version and Version 1 of Docs/Prog/Manual/ApplicationLibraries/lib825ev/String/FloatToStr


Ignore:
Timestamp:
03/21/12 08:54:07 (13 years ago)
Author:
Don Wilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docs/Prog/Manual/ApplicationLibraries/lib825ev/String/FloatToStr

    v1 v1  
     1= FloatToStr =
     2Convert floating point number to string
     3
     4{{{
     5string FloatToStr(float val, int precision);
     6}}}
     7
     8== Parameters ==
     9
     10 * val - floating point value
     11 * precision - optional - how many decimal places to show
     12
     13== Return Value ==
     14
     15 * Returns the string representation of the number
     16
     17== Remarks ==
     18
     19
     20== Example ==
     21
     22{{{
     23float val = 12.3;
     24string s = FloatToStr(val);
     25DisplayText(0, 0, s);
     26}}}
     27
     28
     29== See Also ==
     30
     31 * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/String/StrToFloat StrToFloat]
     32 * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/String/StrFmt StrFmt]