Mathematica 9 is now available

Integer

Usage

Integer 是用于整数的头。


Notes

_Integer 能用于代表一个模式里的整数。 • 整数能有任何长度。 • 可以用 b^^digits输入一个以b为基底的整数。这个基底必须小于 36. 字母用在序列中代表 10 到35的数字。
• 参见 Mathematica 全书: 3.1.1.
• 同时参见: IntegerDigits, BaseForm, IntegerQ, Integers.
Further Examples

The Head of the number  is an integer;  is not an integer.

In[1]:=  

Out[1]=

This generates a random integer in the range from 0 to 10.

In[2]:=  

Out[2]=



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.