Function · Rounding
Excel ROUNDDOWN function
The Excel ROUNDDOWN function drops extra digits toward zero. 19.996 to two decimals is 19.99. ROUND would turn that into 20.00.
Syntax =ROUNDDOWN(number, num_digits)
=ROUNDDOWN(19.996,2)Arguments
| Name | Required | What to pass |
|---|---|---|
| number | Required | The number to shorten toward zero. |
| num_digits | Required | Decimal places to keep. Extra digits are dropped, not used to decide the last kept digit. |
Examples
A computed charge that must not round up to the next cent
=ROUNDDOWN(19.996,2)Result 19.99
| A | B | |
|---|---|---|
| 1 | Exact | 19.996 |
| 2 | Toward zero | 19.99 |
ROUNDDOWN chops toward zero. 19.996 kept to the cent is 19.99, even though the next digit is 9. ROUND looks at that 9 and returns 20.00. Use ROUNDDOWN when the rule is “never charge the extra fraction,” and use it knowing the customer is being favored by less than a cent.
Toward zero is not the same as toward negative infinity. INT(-19.996) is -20. ROUNDDOWN(-19.996,0) is -19. The sign stays, and the size shrinks. FLOOR.MATH is what you want when the step is a nickel rather than a count of decimal places.