Files
calc/help/isint
2017-05-21 15:38:25 -07:00

35 lines
634 B
Plaintext

NAME
isint - whether a value is an integer
SYNOPSIS
isint(x)
TYPES
x any, &any
return int
DESCRIPTION
Determine if x is an integer. This function will return 1 if x is
integer, 0 otherwise.
EXAMPLE
> print isint(2.0), isint(1), isint("0")
1 1 0
> print isint(2i), isint(1e20), isint(1/3)
0 1 0
LIMITS
none
LIBRARY
none
SEE ALSO
int,
isassoc, isatty, isblk, isconfig, isdefined, iserror, iseven, isfile,
ishash, isident, islist, ismat, ismult, isnull, isnum, isobj,
isobjtype, isodd, isprime, isrand, israndom, isreal, isrel,
issimple, issq, isstr, istype