Fraction takes a numerator and denominator number and can perform basic operations with other fractional numbers such as addition, subtraction, multiplication and division. The resulting fraction can be simplified by dividing both the numerator and denominator by their common denominator.Requirements: PHP 5.0 or higher

Math is a simple class that can be used to perform arithmetic operations on sets of numbers passed as arrays. Currently it can only perform addition of all numbers in an array.Math can also format a number using commas and do the opposite, remove commas from formatted numbers.