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 yet rated by the usersTotal: 295 All time: 7,348 This week: 323Up
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: 30
All time rank: 324232 in Czech Republic Czech Republic
Week rank: 643 Up4 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:295
This week:0
All time:7,348
This week:323Up

For more information send a message to info at phpclasses dot org.