lang • isnumber

IsNumber

Result = IsNumber ( String ) AS Boolean

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

It is an optimized equivalent of:

Dim Num As String = "123.5"
If IsInteger(Num) Or IsLong(Num) Or IsFloat(Num) Then Print Num

See also