REBOL 3 Docs Guide Concepts Functions Datatypes Errors
  TOC < Back Next >   Updated: 3-Aug-2010 Edit History  

REBOL 3 Functions: number?

number?  value

Return TRUE if value is a number (integer or decimal).

Arguments:

value [any-type!]

See also:

integer?   decimal?  

Description

Returns FALSE for all other values.

print number? 1234
true
print number? 12.34
true
print number? "1234"
false


  TOC < Back Next > REBOL.com - WIP Wiki Feedback Admin