syntax:functions:isinteger
Table of Contents
IsInteger(expression)
Category: Logical function
Description
This function returns TRUE if the result of expression is an integer number. Otherwise, it returns FALSE.
Arguments
Argument | Type | Description |
---|---|---|
expression | Expression | Any expression that could potentially result in an integer. |
Return value type: Boolean (TRUE/FALSE)
Examples
isinteger(123) //Returns TRUE
isinteger('123') //Returns FALSE
isinteger(123.45) //Returns FALSE
isinteger(100/2) //Returns TRUE
See also
syntax/functions/isinteger.txt · Last modified: 2021/08/28 20:16 by craigt