ISNUMERIC
            Script Function: Checks if a string is numeric
Syntax
ISNUMERIC (String)
| 
                         Syntax  | 
                    
                         Description/Format  | 
                
|---|---|
| 
                         String  | 
                    
                         Character string which should be checked  | 
                
| 
                         Return codes  | 
                
|---|
| 
                         "Y" - the string 
 is numeric  | 
                
With this script function, you can check whether or not all characters of a String are numeric.
Examples
Both of the examples shown below supply the result "Y".
:SET &RET#=ISNUMERIC("123")
:PRINT &RET#
            
:SET &RET#=ISNUMERIC("00123")
:PRINT &RET#
            
In the following example, the string is not numeric and value "N" is returned.
:SET &RET#=ISNUMERIC("1abc")
:PRINT &RET#
            
See also: