isnum
From DavinciWiki
Contents: Description, Arguments, Usage, Examples, Sub-Functions, Related Functions, Source Supported Under Version: >1.00
Description Test for numeric input.
Arguments and Return Values Arguments: Single input (any format) Return Value: 1 if input is numeric (byte, short, int, float, or double); 0 otherwise If no arguments are input, isnum() prints its description, as shown below.
Usage Syntax: isnum(x) 'x' - anything
Examples dv> isnum() Returns 1 if input is numeric (any format), 0 if not S.Marshall 12-06-2007 0 dv> isnum(1//2//3) 1 dv> isnum(pi) 1 dv> isnum("Hello world!") 0 |
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Major Sub-Functions
Recent Library Changes Created On: 12-07-2007 |