isnumber()

Function groupExecute on clientPlatform(s)
StringNOAll

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