lang • isnumber

IsNumber

Result = IsNumber ( String ) AS Boolean

Returns if a localized string can be safely converted to a number.

It is an optimized equivalent of:

Dim Num as string = "123.5"
If IsInteger(Num) Or If IsLong(Num) Or If IsFloat(Num) Then Print Num

See also