WOLFRAM
Products
Wolfram|One
Mathematica
Wolfram Notebook Assistant + LLM Kit
Wolfram|Alpha Notebook Edition
System Modeler
All Products
Consulting & Solutions
Wolfram Consulting
Industry Solutions
Solutions for Education
Learning & Support
Wolfram U Courses
Wolfram Language Resources
Wolfram Community
Support FAQs
Contact Support
Company
About Wolfram
Careers
Events
Educational Programs
All Sites and Resources
Wolfram|Alpha
Wolfram Cloud
Your Account
Your Account
User Portal
Search
Close
Enable JavaScript to interact with content and submit forms on Wolfram websites.
Learn how
Legacy Documentation
The Mathematical Explorer
TM
(2001)
This is documentation for an obsolete product.
Current products and services
IntegerQ
IntegerQ[
expr
]
gives
True
if
expr
is an integer, and
False
otherwise.
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
The Mathematica Book
on the web:
Section 2.3.5
andÂ
Section 3.1.1
.
See also:
NumberQ
,
Element
.
Further Examples