PHP Classes

Fraction: Perform operations with fractional numbers

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-11-12 (6 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 285 All time: 6,877 This week: 1,153Up
Version License PHP version Categories  
fraction 1.1GNU Lesser Genera...5.0PHP 5, Math
Description Author  

This class can be used to perform operations with numbers represented as fractions.

It takes numerator and denominator number and can perform basic operations with other fractional numbers such as addition, subtraction, multiplication and division.

The class may also simplify the resulting fraction by dividing both numeration and denominator by the common denominator.

Picture of Tomas Lang
Name: Tomas Lang <contact>
Classes: 2 packages by
Country: Czech Republic Czech Republic
Age: 25
All time rank: 309332 in Czech Republic Czech Republic
Week rank: 1483 Up17 in Czech Republic Czech Republic Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file fraction.php Class file with basic class

 Version Control Unique User Downloads Download Rankings  
 0%Total:285All time:6,877
 This week:0This week:1,153Up