PHP Classes

PHP Arithmetic Operations: Perform calculations with values passed as strings

Recommend this page to a friend!
  Info   View files Example   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 98 All time: 9,760 This week: 156Up
Version License PHP version Categories
php-arithmetic-class 1.0MIT/X Consortium ...5PHP 5, Math, Parsers


This class perform calculations with values passed as strings.

It takes as parameters a string with number values separated by commas.

The class can parse the string to extract the values and performs several types of arithmetic operations like addition, subtraction, multiplication, division and average.

Picture of Muhammad Umer Farooq
Name: Muhammad Umer Farooq is available for providing paid consulting. Contact Muhammad Umer Farooq .
Classes: 52 packages by
Country: Pakistan Pakistan
Age: 22
All time rank: 85211 in Pakistan Pakistan
Week rank: 42 Up2 in Pakistan Pakistan Up
Innovation award
Innovation award
Nominee: 6x


PHP Arithmetic class

This class can perform arithmetic operations such as addition , division etc


It can perform.

1. Addition 2. Substraction 3. Multiplication 4. Division 5. Average

  Files folder image Files  
File Role Description
Files folder imageclasses (1 file)
Accessible without login Plain text file index.php Example Example script
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file Doc. Documentation

  Files folder image Files  /  classes  
File Role Description
  Plain text file Arithmetic.php Class Class source

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:9,760
This week:156Up