IsDigits function

Syntax

IsDigits(String)

Description

Use the IsDigits function to determine if String contains only digit (numeric) characters. Numeric characters do not include sign indicators and comma and period decimal points. If you want to check for numbers as well as sign indicators, use the IsNumber function.

Parameters

Parameter Description

String

Specify the string you want to search.

Returns

A Boolean value: True if the string contains digits, False otherwise.

Example

If IsDigits(&MyValue) Then  
   /* do processing */ 
Else 
   /* do error processing */ 
End-if;