|
String to Number
STR_NUM(<str-expr>) Convert string to number
This function also returns a numeric value, converting its string argument to a number. It is the GPP developer responsibility to ensure that the string can be properly converted to a number.
For instance STR_NUM("0.5") returns the number 0.5. However, STR_NUM("xyz") returns an unpredictable number. No runtime warning or error is generated, even if the string does not translate to a valid number.
|