Login   Register  
PHP Classes
elePHPant
Icontem

Big Number Calculator: Add arbitrary precision numbers in pure PHP

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Protung Dragos
Name: Protung Dragos is available for providing paid consulting. Contact Protung Dragos .
Classes: 10 packages by
Country: Germany Germany
Age: 31
All time rank: 353 in Germany Germany
Week rank: 37 Down2 in Germany Germany Up
Innovation award
Innovation award
Nominee: 3x


  Detailed description   Download Download .zip .tar.gz  
This class can be used to add arbitrary precision numbers in pure PHP.

It takes two decimal numbers represented as strings of unlimited length and performs an addition digit by digit.

The result is another decimal number represented as a string.

  Classes of Protung Dragos  >  Big Number Calculator  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Big Number Calculator
Base name: bignumbercalculator
Description: Add arbitrary precision numbers in pure PHP
Version: -
PHP version: 5
License: GNU Lesser General Public License (LGPL)
All time users: 1049 users
All time rank: 3256
Week users: 0 users
Week rank: 1467 Equal
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Math Math related classes. View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
December 2006
Number 5


Prize: One subscription to the PDF edition of the magazine by PHP Architect
Arbitrary precision numbers can be used to perform mathematical operations without loosing the precision of the results.

PHP applications can use the bcmath extension to perform arbitrary precision operations. However, this extension is not always available in all PHP installations.

This class provides a pure PHP based solution to perform basic operations with arbitrary precision numbers. It can be used in environments where bcmath extension is not available.


Manuel Lemos

  User ratings  
Not enough user ratings

  Applications that use this package  
No pages of applications that use this class were specified.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file calculator.php Class Main class
Accessible without login Plain text file example.php Example Example of usage
Accessible without login Plain text file license.txt Lic. License file
Accessible without login Plain text file readme.txt Doc. Documentation

Download Download all files: bignumbercalculator.tar.gz bignumbercalculator.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.