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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 195 This week: 1All time: 8,366 This week: 199Up
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 is available for providing paid consulting. Contact Steve Winnington .
Classes: 8 packages by
Country: United Kingdom
Age: 46
All time rank: 123654 in United Kingdom
Week rank: 95 Up5 in United Kingdom Up
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:195
This week:1
All time:8,366
This week:199Up

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