Bulatkan angka ke bawah ke kelipatan terdekat
=FLOOR.MATH(number, [significance], [mode])
| Parameter | Deskripsi |
|---|---|
number |
The number that should be rounded. |
significance |
[optional] Multiple to use when rounding. Default is 1. |
mode |
[optional] For rounding negative numbers toward or away from zero. Default is 0. |
By default, FLOOR.MATH rounds to the nearest integer, using a significance of 1.
=FLOOR.MATH(5.75) // returns 5
=FLOOR.MATH(2.55) // returns 2
Provide a value for significance to round to a different multiple:
=FLOOR.MATH(5.75,1) // returns 5
=FLOOR.MATH(5.75,3) // returns 3
=FLOOR.MATH(5.75,0.5) // returns 5.5
Positive numbers with decimal values are rounded down to the nearest integer, and negative numbers with decimal values are rounded away from zero:
=FLOOR.MATH(6.7) // returns 6
=FLOOR.MATH(-6.7) // returns -7
Control for rounding negative numbers toward zero or away from zero is provided with the (optional) mode argument. Mode defaults to zero or FALSE. Whe
=FLOOR.MATH(-4.1) // returns -5
=FLOOR.MATH(-4.1,1) // returns -5
=FLOOR.MATH(-4.1,1,TRUE) // returns -4