Use the Val function to convert a string that represents a number into numeric data type.
The string passed to the Val function is locale-independent. This means that commas are interpreted as thousands separators and a dot is used as the decimal separator.