ROUNDDOWN Function (OpenOffice Calc)
Learn the ROUNDDOWN function in Apache OpenOffice Calc: Rounds a number down to a predefined accuracy.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Availability and version history
- Introduced: Documented by Apache OpenOffice 4.1.16; original introduction not established.
- Availability: Supported in Apache OpenOffice 4.1.16, verified against its function registry. This identifies a supported release, not a final working version.
- Scope: Desktop Calc, using the English function name. Availability in other spreadsheet applications is separate.
- Checked: 2026-10-14 — function reference; versioned support. Documentation/source check; not a new native test. Existing example-specific test claims below retain their stated scope.
ROUNDDOWN rounds toward zero to a requested decimal position. It removes unwanted digits without increasing the magnitude. Thus -1.29 rounded to one decimal place is -1.2, not -1.3. “Down” here differs from the negative-infinity direction used by INT.
Syntax and arguments
=ROUNDDOWN(number; decimals)
=ROUNDDOWN(number)
number is the numeric value or expression. decimals is optional, with a default of 0. Positive values keep decimal places, zero keeps a whole number, and negative values remove digits to the left of the decimal point. The Apache OpenOffice 4.1.16 source accepts a decimal-place parameter from -20 through 20 after rounding it downward to an integer. Use explicit integers for predictable intent.
| Formula | Expected result |
|---|---|
=ROUNDDOWN(1.29;1) |
1.2 |
=ROUNDDOWN(-1.29;1) |
-1.2 |
=ROUNDDOWN(7.99) |
7 |
=ROUNDDOWN(-7.99;0) |
-7 |
=ROUNDDOWN(987;-2) |
900 |
=ROUNDDOWN(-987;-2) |
-900 |
=ROUNDDOWN(1.2;1) |
1.2 |
=ROUNDDOWN(0;2) |
0 |
The original 1.29 example is retained. Its saved comparable LibreOffice 25.2 check was not an OpenOffice execution and remains scoped to that other application.
Reproducible worksheet: complete production units
Enter available material in A2:A4 as 19.9, 20 and 0. Enter material per complete unit in B2:B4 as 3, 3 and 3. Use matching physical units, for example meters in both columns.
In C2 enter =ROUNDDOWN(A2/B2;0) and fill down. Expected complete-unit counts are 6, 6 and 0. In D2 enter =A2-C2*B2 and fill down: leftovers are 1.9, 2 and 0.
This calculation assumes nonnegative available material and a strictly positive requirement. ROUNDUP would estimate how many containers are needed to hold a quantity, a different question. ROUNDDOWN answers how many whole units can be made without exceeding the available quantity.
Advanced applications
Signed truncation. With A2=-12.987, =ROUNDDOWN(A2;2) gives -12.98. If a rule requires a floor toward negative infinity, this is the wrong function: =INT(A2*100)/100 has that mathematical direction for ordinary numeric inputs.
Whole blocks. For nonnegative A2 measured in minutes, =ROUNDDOWN(A2/15;0)*15 returns completed 15-minute blocks expressed in minutes. A2=44 gives 30. To return the number of blocks instead, omit the final multiplication and obtain 2.
Keep the original precision. Put the truncated value in a new column rather than replacing imported readings. This preserves the ability to calculate totals from the original observations. For 1.239 and 1.239, truncating each to two places then adding gives 2.46; truncating their total gives 2.47.
Related functions. TRUNC also expresses truncation toward zero and supports an optional digits parameter in OpenOffice Calc. INT always floors to a whole number; ROUND chooses the nearest decimal position; ROUNDUP moves away from zero.
Errors, edge cases and troubleshooting
- A number format showing two decimals is not the same as
ROUNDDOWN(value;2); formatting normally leaves the stored value intact. - If a negative result appears “too high,” compare the directions: -7 is closer to zero than -8. ROUNDDOWN(-7.9;0) is -7.
- Check numerator and denominator inputs before the production formula. Dividing by zero is not a rounding problem.
- Imported text, blanks, empty-string formulas and numeric zero should not be treated as interchangeable. Use
ISNUMBERand explicit validation. - Upstream errors propagate; the function does not silently discard error values. Incorrect argument counts and unmatched parentheses are separate formula-entry problems.
- The decimal-place range is bounded in the pinned implementation. Asking for an extreme precision does not create extra meaningful digits.
Related functions
Documentation and verification
See the OpenOffice ROUNDDOWN reference, 4.1.16 help, and RoundNumber routine. Versioned sources were originally retrieved on 2026-10-13. The worked arithmetic was independently checked, but no new OpenOffice native or GUI test was run. Support evidence is separate from an unknown introduction or final functioning version.