MROUND

The MROUND function returns a number rounded to the indicated significant multiple.

Syntax

MROUND(
    number,
    multiple
)

Parameters
  • number: Number to round.
  • multiple: Significant multiple to which you want to round number.
Returned value

The MROUND function returns a number.

Additional Information

The MROUND function rounds number to the nearest multiple of multiple. This means that MROUND(17, 5) returns 15 (since 20, even though it is also a multiple of 5, is more distant from the number 17 than 15).

Examples

In this example, different whole numbers are rounded to several significant multiples:

MROUND function. Example of use

In this second example several real numbers are rounded:

MROUND function. Example of use

Category
Mathematical and trigonometric
Submitted by admin on Tue, 12/04/2018 - 12:27