The tonumber function converts a string_expression into a number. Leading blanks in the string are ignored. The conversion stops at the first non-numeric character encountered.
Return Value
The function returns a decimal number. If the string begins with a non-numeric character (other than a blank), the function returns default.