PHP Classes

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: 204 All time: 8,417 This week: 119Up
Version License PHP version Categories
excel-mround 1GNU General Publi...4PHP 5, Math


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: 49
All time rank: 123455 in United Kingdom
Week rank: 438 Up22 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  
This week:0
All time:8,417
This week:119Up