Conversion To Numeric
Top  Previous  Next


If the variable contains a string that can be interpreted as a numeric value, it is converted to that number:

e.g. "-2.2" is converted to -2.2.

If the string contains any other characters that indicate that it is not a number, it is converted to 0:

e.g. "-2.2a" is converted to 0.