Rational Class
The Rational class represents a rational number.
Constructor
Rational
(
-
n
-
d
Parameters:
-
n
NumberThe numerator.
-
d
NumberThe denominator.
Methods
Properties
denom
Number
The denominator part of the rational number.
numer
Number
The numerator part of the rational number.