GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Download
  • News
  • Community
  • Resources
  • Language Reference
  • SmallBASIC Manual

This view

  • Original page
  • New address

GeezerVison is showing smallbasic.github.io — SmallBASIC | ISNUMBER

Edit History

ISNUMBER

b = ISNUMBER (x)

Home > Reference > Data

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
Code samples using ISNUMBER
base64.bas   calc.bas   save as.bas   TinyBASIC.bas  
Data
APPEND   ARRAY   DATA   DELETE   DIM   EMPTY   ERASE   INSERT   ISARRAY   ISDIR   ISFILE   ISLINK   ISMAP   ISNUMBER   ISSTRING   LBOUND   LEN   READ   REDIM   RESTORE   SEARCH   SORT   SWAP   UBOUND  
This page was last edited on Fri, 21 Apr 2023 10:48:20 +0200 | Markdown processed with pandoc 3.1.12.1
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.