The NUMVAL-C function returns the numeric value represented by the character string specified by argument-1. Any optional currency string specified by argument-2 and any optional commas preceding the decimal point are ignored. The type of this function is numeric.
or national
literal or an alphanumeric
or national
data item whose content has one of the following two formats:
or
where space is a string of zero or more spaces, cs is the string of one or more characters specified by argument-2 and digit is a string of one or more digits.
It cannot be a digit, comma, space, plus sign(+), minus sign (-) or decimal point.
; or if argument-1 is of class national, the national representation of
the currency string specified for the program. The national representation
of cs is the value returned from FUNCTION NATIONAL-OF (cs).