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

Rational

Rational
is the head used for rational numbers.
  • You can enter a rational number in the form n/m.
  • The pattern object _Rational can be used to stand for a rational number. It cannot stand for a single integer.
New in 1