rational numbers: Rational numbers are created as a fraction from two integers, with the icon

or with the symbol
/. There are two functions associated with rational numbers
numerator and
denominator. If
q is a rational number, then numerator(q) and denominator(q) give us, respectively, the numerator and the denominator of the irreducible fraction equivalent to
q.
numerator(q)
denominator(q)