10 6 33 IsNumber

LANSA Technical

10.6.33 IsNumber

IsNumber returns true if the supplied string can be converted to a number.

IsNumber will often be used before AsNumber to better handle potential errors.

Input Parameters

None

Example

If (#String.IsNumber)

 

#number := #String.AsNumber

 

Endif

 

Ý 10.6 Alphanumeric/String Intrinsic Functions