isnumber()

Function group Execute on client Platform(s)
String NO All

Syntax

isnumber(string[,decimal-char][,thousands-char])

Description

Returns kTrue if the specified string can be evaluated as a number; kFalse otherwise.

The optional parameters can be used to define the decimal and thousand separator. If the optional parameters are not specified the default separators are used, a '.' for the decimal and a ',' for the thousand.

Example

Calculate lStatus as  isnumber(lString)
# lStatus is kTrue if lString can be evaluated as a number