Mathematica > Core Language > Expressions > Testing Expressions >
Mathematica > Core Language > Procedural Programming > Conditionals > Testing Expressions >

IntegerQ

IntegerQ[expr]
gives True if expr is an integer, and False otherwise.
  • Simplify[exprElementIntegers] can be used to try to determine whether an expression is mathematically equal to an integer.
New in 1 | Last modified in 4
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team