Description
Converts a string into a number.
Syntax
StringToNumber ( str, fmt )
Arguments
str is a string representation of a number, and
fmt is a string identifying the format of str.
Remarks
StringToNumber converts a string value (str ) into its numeric representation using the string template (fmt ) to interpret the numeric string (str ).
Refer to the section titled Number Format Strings for more information on the meaning of the fmt argument.