NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
variant StrToNum ( string  str)
inline

Convert string to number.

Return the numeric value specified by the string passed to the function. If the content of the string is not a numeric value then this function returns zero. The input string parameter may be a variable, constant, or expression.

Parameters
strString beginning with the representation of a number.
strA string.
Returns
A number.
Examples:
ex_string.nxc, and ex_StrToNum.nxc.