Converts a string representation of a numeric value to the actual numeric value.
VAL
(string_expression)
string_expression is the string representation of a numeric value.
VAL
stops at the first character it cannot recognize as part of a number. Valid characters are 0 through 9, the period (.), the minus sign (-) and the plus sign (+).
PRINT VAL("33.44")
PRINT VAL("88k")
Results in:
33.44
88