PHP Classes

Fraction: Perform operations with fractional numbers

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 298 All time: 7,432 This week: 455Up
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: 34
All time rank: 331233 in Czech Republic Czech Republic
Week rank: 249 Up3 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:298
This week:0
All time:7,432
This week:455Up