You are here

public function Fraction::getDenominator in Fraction 7

Get the denominator.

Return value

string Returns the denominator value.

9 calls to Fraction::getDenominator()
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.

... See full list

File

./fraction.class.inc, line 96
Fraction class

Class

Fraction
@file Fraction class

Code

public function getDenominator() {
  return $this->denominator;
}