User Tools

Site Tools


syntax:functions:isinteger
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


Previous revision
syntax:functions:isinteger [2021/08/28 20:16] (current) craigt
Line 1: Line 1:
 +====== 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:isboolean|IsBoolean(expression)]]
 +  * [[syntax:functions:isempty|IsEmpty(expression)]]
 +  * [[syntax:functions:iserror|IsError(expression)]]
 +  * [[syntax:functions:isnumber|IsNumber(expression)]]
 +  * [[syntax:functions:isnumeric|IsNumeric(expression)]]
 +  * [[syntax:functions:istext|IsText(expression)]]
  
syntax/functions/isinteger.txt · Last modified: 2021/08/28 20:16 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki