isint
From DavinciWiki
|
Contents: Description, Arguments, Usage, Examples, Sub-Functions, Related Functions, Source Supported Under Version: > 1.11
Description Test for integer input.
Arguments and Return Values Arguments: A single input (any format) Return Value: 1 if all elements of input are integers (integer values, not necessarily integer format) If no arguments are input, isint() prints its description, as shown below.
Usage Syntax: isint(x) 'x' - anything
Examples dv> isint()
Returns 1 if all elements of input are integers (in any format), 0 if not
Works for arrays
S.Marshall 02-15-2008
0
dv> isint(0//1//2//3)
1
dv> isint(pi)
0
dv> isint(log10(100))
1
dv> isint(2.)
1
dv> isint("Hello world!")
Input must be numeric
0
|
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Recent Library Changes Created On: 12-08-2007 |