Overview | Statement List | Example
VALF('string')
Converts a string representing a numerical value into a real floating point number. The string must be in the numeric form with a maximum of 132 characters including the decimal point. This function is the reciprocal of the FSTR and FSTRL functions.
NOTE: When non-numeric characters follow a number in the string, it is
truncated at the first non-numeric character before the conversion. The only
exception is the letter E which VALF interprets as scientific notation.
Parameter |
Description |
'string' |
The literal string or string variable name of a string which gets converted to a real number. |