Documentation/How Tos/Calc: MROUND function
From Apache OpenOffice Wiki
Returns a number rounded to the nearest multiple of another number.
This function is only available if the Analysis AddIn is installed.
- Returns number rounded to the nearest multiple of mult, that is to mult times an integer.
- An alternative implementation would be mult * ROUND(number/mult).
- returns 15, as 15.5 is closer to 15 ( = 3*5) than to 18 ( = 3*6).
- returns 1.5 ( = 0.5*3).