PHP Classes
elePHPant
Icontem

PHP BCMath Extension: Add missing functions missing in BCMath

Recommend this page to a friend!
  Info   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2016-04-25 (5 months ago) RSS 2.0 feedNot enough user ratingsTotal: 163 All time: 8,072 This week: 880Up
Version License PHP version Categories
bcmath-extended 1.2MIT/X Consortium ...5.3PHP 5, Utilities and Tools, Math
Description Author

This class adds missing functions missing in BCMath.

It uses the BCMath extension functions to add more math operation functions that the extension is missing.

Currently it adds functions like floor, ceil, round, abs, min, max and rand.

Innovation Award
PHP Programming Innovation award nominee
March 2016
Number 7
The BCMath extension can perform several types of operations with numbers of unlimited precision.

This class can implement several types of arbitrary precision operations not yet implemented by the BCMath extension like floor, ceil, round, abs, min, max and rand.

Manuel Lemos
Picture of Kacper Rowinski
  Performance   Level  
Name: Kacper Rowinski <contact>
Classes: 7 packages by
Country: Poland Poland
Age: 32
All time rank: 125533 in Poland Poland
Week rank: 474 Up16 in Poland Poland Up
Innovation award
Innovation award
Nominee: 3x

Details

bcmath-extended

Build Status Latest Stable Version Total Downloads Latest Unstable Version License

Extends php BCMath lib for missing functions like floor, ceil, round, abs, min, max, rand for big numbers.

Installation

composer require krowinski/bcmath-extended
  Files folder image Files  
File Role Description
Files folder imagesrc (1 directory)
Files folder imagetests (1 directory)
Accessible without login Plain text file .travis.yml Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file README.md Data Auxiliary data

  Files folder image Files  /  src  
File Role Description
Files folder imageBCMathExtended (1 file)

  Files folder image Files  /  src  /  BCMathExtended  
File Role Description
  Plain text file BC.php Class Class source

  Files folder image Files  /  tests  
File Role Description
Files folder imageUnit (1 file)

  Files folder image Files  /  tests  /  Unit  
File Role Description
  Accessible without login Plain text file BCTest.php Test Unit test script

 Version Control Unique User Downloads Download Rankings  
 100%
Total:163
This week:0
All time:8,072
This week:880Up