



The NUMVAL function returns the numeric value represented by the alphanumeric character string specified in an argument. The function strips away any leading or trailing blanks in the string, producing a numeric value that can be used in an arithmetic expression.
The function type is numeric.
___ Format _____________________________________________________________
| |
| >>__FUNCTION NUMVAL__(argument-1)___________________________________>< |
| |
|________________________________________________________________________|
________________________________________________________________________
| |
| >__ _______ __ ___ __ _______ __ _digit__ ______________ _ __________> |
| |_space_| |_+_| |_space_| | |_.__ _______ _| | |
| |_-_| | |_digit_| | |
| |_.__digit________________| |
| |
| >__ _______ _________________________________________________________> |
| |_space_| |
| |
|________________________________________________________________________|
________________________________________________________________________
| |
| >__ _______ __ _digit__ ______________ _ __ _______ __ ____ _________> |
| |_space_| | |_.__ _______ _| | |_space_| |_+__| |
| | |_digit_| | |_-__| |
| |_.__digit________________| |_CR_| |
| |_DB_| |
| |
| >__ _______ _________________________________________________________> |
| |_space_| |
| |
|________________________________________________________________________|
If the DECIMAL-POINT IS COMMA clause is specified in the SPECIAL-NAMES paragraph, a comma must be used in argument-1 rather than a decimal point.
The returned value is an approximation of the numeric value represented by argument-1.
© Copyright IBM Corp. 1991, 1998
Adobe, the Adobe logo, Acrobat, the Acrobat logo, and Acrobat Reader are registered trademarks of Adobe Systems incorporated.