Mathematica 9 is now available

IntegerQ

Usage

• 如果expr是一个整数, IntegerQ[expr] 给出True,否则给出False


Notes

IntegerQ[expr]返回False,除非expr十分明确的是一个整数 (例如, 有头 Integer).
Simplify[expr  Integers] 能用于确定一个表达式在数学上是否等于一个整数。
• 参见 Mathematica 全书: 2.3.5 and 节 3.1.1.
• 同时参见: EvenQ, OddQ, NumberQ, TrueQ, Element.
Further Examples

The rule applies to all elements of the list that are integers.

In[1]:=  

Out[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.