StrToNum (Reserved Word)

image\trumpet2.gif Disclaimer

Converts the specified string expression to a numeric value.

Remarks

If any non-numeric characters are included in the string expression, zero (0) is returned, unless the non-numeric characters are at the end of the string expression. Non-numeric characters at the end of the string expression are ignored.

Example

StrToNum("1170.50") returns the numeric value 1170.50.