Syntax
=MROUND(number, multiple)Arguments
| Argument | Required | Description |
|---|---|---|
number | Required | The number to round |
multiple | Required | The multiple to round to |
How to use MROUND
MROUND takes 2 required arguments. Type =MROUND( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.
Examples
Each result below was calculated by the SheetsBat formula engine.
=MROUND(10, 3)Result =MROUND(-10, -3)Result =MROUND(1.3, 0.2)Result =MROUND(5, -2)Result Related math functions
- MINUSReturns the difference of two numbers, like the - operator.
- MINVERSEReturns the inverse of a square matrix.
- MMULTReturns the matrix product of two arrays.
- MODReturns the remainder after dividing a number by a divisor; the result has the sign of the divisor.
- MULTINOMIALReturns the factorial of a sum of values divided by the product of their factorials.
- MULTIPLYReturns the product of two numbers, like the * operator.
- MUNITReturns the identity matrix of a given size.
- ODDRounds a number away from zero to the nearest odd integer.
- PIReturns the number pi, 3.14159265358979.