You are here

10 calls to Fraction::getNumerator() in Fraction 7

Fraction::add in ./fraction.class.inc
Add another fraction to this one.
Fraction::divide in ./fraction.class.inc
Divide this fraction by another one.
Fraction::gcd in ./fraction.class.inc
Calculate the fraction's greatest common divisor using Euclid's algorithm.
Fraction::multiply in ./fraction.class.inc
Multiply this fraction with another one.
Fraction::reciprocate in ./fraction.class.inc
Reciprocate the fraction.
Fraction::reduce in ./fraction.class.inc
Reduce the fraction to its simplest form.
Fraction::setDenominator in ./fraction.class.inc
Set the denominator.
Fraction::subtract in ./fraction.class.inc
Subtract another fraction from this one.
Fraction::toDecimal in ./fraction.class.inc
Calculate the decimal equivalent of the fraction.
Fraction::toString in ./fraction.class.inc
Return a string representation of the fraction.