ISNUMBER

SmallBASIC syntax groups: 


Data function ISNUMBER


10
20  ISNUMBER (x)
30
Returns true if x is a number (or it can be converted to a number).


See examples


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 an article using the comments link below. Note, an offline language reference text file is now avialable – see the Download section.

? ISNUMBER(12)          :REM true
? ISNUMBER("12")        :REM true
? ISNUMBER("12E+2")     :REM true
? ISNUMBER("abc")       :REM false
? ISNUMBER("1+2")       :REM false
? ISNUMBER("int(2.4)")  :REM false