ISNUMBER

b = ISNUMBER (x)

Returns true if x is a number or can be converted to a number.

Example

print ISNUMBER(12)          ' Output 1
print ISNUMBER("12")        ' Output 1
print ISNUMBER("12E+2")     ' Output 1
print ISNUMBER("abc")       ' Output 0
print ISNUMBER("1+2")       ' Output 0
print ISNUMBER("int(2.4)")  ' Output 0
Data
If there is insufficient information on this page and you wish learn more about ISNUMBER, please send an email to smallbasic@gmail.com. You can help to improve information about ISNUMBER by submitting a pull request, click View Source for details. Note, an offline language reference text file is also available - see the Download section.