Changes between Version 1 and Version 2 of Docs/Prog/Manual/ApplicationLibraries/lib825ev/String/StrToFloat
- Timestamp:
- 08/20/10 09:06:46 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Docs/Prog/Manual/ApplicationLibraries/lib825ev/String/StrToFloat
v1 v2 1 StrToFloat 1 = StrToFloat = 2 Convert string to floating point number 3 4 {{{ 5 float StrToFloat(string& strVal); 6 }}} 7 8 == Parameters == 9 10 * strVal - string containing a floating point number 11 12 == Return Value == 13 14 * Returns the floating point value of the string 15 16 == Remarks == 17 18 If the string does not contain a valid floating point number the result will be zero. 19 20 == Example == 21 22 {{{ 23 string strVal = "12.45"; 24 float fVal = StrToFloat(strVal); 25 }}} 26 27 28 == See Also == 29 30 * StrToInt 31 * StrFmt 32