Mathematica 9 is now available

IntegerQ

Usage

IntegerQ[expr] gives True if expr is an integer, and False otherwise.


Notes

IntegerQ[expr] returns False unless expr is manifestly an integer (i.e., has head Integer).
Simplify[expr  Integers] can be used to try to determine whether an expression is mathematically equal to an integer.
• See also: EvenQ, OddQ, NumberQ, TrueQ, Element.
• New in Version 1.


Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.