Top Level :: Math

Package Information: Math_Fraction

» Summary » License
Classes that represent and manipulate fractions. PHP
» Current Release » Bug Summary
0.4.1 (beta) was released on 2007-07-18 (Changelog)
Easy Install

Not sure? Get more info.

pear install Math_Fraction

Pyrus Install

Try PEAR2's installer, Pyrus.

php pyrus.phar install pear/Math_Fraction

No open bugs
Report a new bug to Math_Fraction
» Description
Classes that represent and manipulate fractions (x = a/b).

The Math_FractionOp static class contains definitions for:
- basic arithmetic operations
- comparing fractions
- greatest common divisor (gcd) and least common multiple (lcm) of two integers
- simplifying (reducing) and getting the reciprocal of a fraction
- converting a float to fraction.
» Maintainers » More Information

Dependencies for Math_Fraction