



The NUMVAL-C function returns the numeric value represented by the alphanumeric character string specified as argument-1. Any optional currency sign specified by argument-2 and any optional commas preceding the decimal point are stripped away, producing a numeric value that can be used in an arithmetic expression.
The function type is numeric.
___ Format _____________________________________________________________
| |
| >>__FUNCTION NUMVAL-C__(argument-1_ ____________ _)_________________>< |
| |_argument-2_| |
| |
|________________________________________________________________________|
________________________________________________________________________
| |
| >__ _______ __ ___ __ _______ __ ____ __ _______ ____________________> |
| |_space_| |_+_| |_space_| |_cs_| |_space_| |
| |_-_| |
| |
| >__ _digit__ ______________ __ ______________ _ __ _______ __________> |
| | | <__________ | |_.__ _______ _| | |_space_| |
| | |___,__digit_|_| |_digit_| | |
| |_.__digit__________________________________| |
| |
|________________________________________________________________________|
________________________________________________________________________
| |
| >__ _______ __ ____ __ _______ ______________________________________> |
| |_space_| |_cs_| |_space_| |
| |
| >__ _digit__ ______________ __ ______________ _ __ _______ __________> |
| | | <__________ | |_.__ _______ _| | |_space_| |
| | |___,__digit_|_| |_digit_| | |
| |_.__digit__________________________________| |
| |
| >__ ____ __ _______ _________________________________________________> |
| |_+__| |_space_| |
| |_-__| |
| |_CR_| |
| |_DB_| |
| |
|________________________________________________________________________|
If the DECIMAL-POINT IS COMMA clause is specified in the SPECIAL-NAMES paragraph, the functions of the comma and decimal point in argument-1 are reversed.
© Copyright IBM Corp. 1991, 1998
Adobe, the Adobe logo, Acrobat, the Acrobat logo, and Acrobat Reader are registered trademarks of Adobe Systems incorporated.