PHP Classes
elePHPant
Icontem

PHP Excel MROUND Formula: Round numbers to nearest multiple as Excel MROUND

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2013-12-04 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 175 All time: 8,007 This week: 902Up
Version License PHP version Categories
excel-mround 1GNU General Publi...4PHP 5, Math
Description Author

This class can round numbers to nearest multiple as Excel MROUND function and other rounding methods.

It can take a number value round it so the result becomes a multiple of another number parameter.

The class can also take another parameter that specify other types of rounding methods can should be used.

Innovation Award
PHP Programming Innovation award nominee
December 2013
Number 7
The Excel spreadsheet program supports a function called MROUND that can round a number, so it becomes a multiple of another given number.

This class provides a similar number rounding solution, as well other types of rounding methods.

Manuel Lemos
Picture of Steve Winnington
  Performance   Level  
Name: Steve Winnington <contact>
Classes: 8 packages by
Country: United Kingdom United Kingdom
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Plain text file UtilsMaths.php Class Excel MROUND Class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:175
This week:0
All time:8,007
This week:902Up