Next: , Previous: rational (System Class), Up: Numbers


ratio (System Class)

Class Precedence List:

ratio, rational, real, number, t

Description:

A ratio is a number representing the mathematical ratio of two non-zero integers, the numerator and denominator, whose greatest common divisor is one, and of which the denominator is positive and greater than one.

See Also:

Figure 2.9, Section 2.3.2 (Constructing Numbers from Tokens), Section 22.1.3.1.2 (Printing Ratios)