MROUND()

Syntax. MROUND(number,multiple)

Definition. This function returns a number rounded to a multiple.

Arguments

Background. The MROUND() function allows you to round a number to the multiple of a given value. MROUND() rounds up, away from zero, if the remainder of dividing number by multiple is greater than or equal to half the value of multiple. If the number is less than or equal to half of the multiple, the number is rounded down.

Examples. All sales prices in a store have to be divisible by 0.05—for example: $10.05, $11.10, $15.25, or $20.00.

See Also

CEILING(), EVEN(), FLOOR(), ODD(), ROUND(), ROUNDDOWN(), ROUNDUP(), TRUNC()