Mathematica 9 is now available

Documentation / Mathematica / Built-in Functions / Numerical Computation / Number Representation /

Rational

FilledSmallSquare Rational is the head used for rational numbers.

FilledSmallSquare You can enter a rational number in the form n/m.

FilledSmallSquare The pattern object _Rational can be used to stand for a rational number. It cannot stand for a single integer.

FilledSmallSquare You have to use Numerator and Denominator to extract parts of Rational numbers.

FilledSmallSquare See Section 3.1.1.

FilledSmallSquare See also: Rationals, Integer, Numerator, Denominator.

FilledSmallSquare New in Version 1.

Further Examples



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.