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

ArgumentTypeDescription
expressionExpressionAny 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