This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

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


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