Returns a number rounded to the nearest specified multiple.
פונקציה זו פועלת ב-Google Sheets בדיוק כמו ב-Excel — אותה תחביר ואותם ארגומנטים.
MROUND(number, multiple)MROUND rounds a number up or down to the nearest multiple of the provided argument. If the remainder of dividing the number by the multiple is greater than or equal to half the value of the multiple, the function rounds away from zero.
=MROUND(10, 3)תוצאה: 9
10 is rounded to the nearest multiple of 3, which is 9.
=MROUND(11, 3)תוצאה: 12
11 is rounded to the nearest multiple of 3, which is 12.
MROUND will return a #NUM! error if the number and multiple have different signs.