This function reads a string containing numbers (e.g. address, phone or social security number), and converts them to a decimal value. Val stops reading when it finds the first character in the string.
Parameter
a - A String value.
Return value
The return value is a Number.
Example
The return value of the following statement is 63,550,513.00.
Val("63550513Mr.Tom")