Syntax
| Parameter | Description |
|---|---|
| number | Parameter of the ROUNDDOWN function. |
| num_digits | Parameter of the ROUNDDOWN function. |
Examples
Truncate to cents
=ROUNDDOWN(15.6789, 2)
Remove decimals
=ROUNDDOWN(9.99, 0)
Round down to hundreds
=ROUNDDOWN(2876, -2)
Common Errors
Happens when a non-numeric value is passed as the number argument.
Occurs in rare edge cases with extreme values.
Tips
For positive numbers, ROUNDDOWN(x, n) and TRUNC(x, n) give the same result. They differ only for negative numbers and edge cases.
Many tax systems truncate rather than round. Use ROUNDDOWN for IRS withholding tables and similar calculations where partial cents are dropped.
When estimating revenue, ROUNDDOWN gives a conservative figure. When estimating costs, use ROUNDUP instead.
Try ROUNDDOWN in Viztab
Import your data and use ROUNDDOWN with 370+ other formulas. No signup required.
Open Viztab