INT
Supported, behaves as documentedCategory: Math and trigonometry · Last tested 2026-08-06
Real, executed compatibility results for the INT function across Microsoft Excel, Google Sheets, and LibreOffice Calc — verified by actually running it. Syntax and links to each vendor’s official documentation are below.
Support matrix
| Engine | Documented | Live-tested | Verdict |
|---|---|---|---|
| Excel | Yes | Not yet | n/a |
| Google Sheets | Yes | Not yet | n/a |
| LibreOffice Calc | Yes | Yes (25.8.7.3, 2026-08-06) | Supported, behaves as documented |
LibreOffice version history
We executed the same test cases under each LibreOffice release to show exactly when INT’s support changed — not documentation claims, real results.
| LibreOffice version | Verdict | Tested |
|---|---|---|
| 24.2.0.3 | Supported, behaves as documented | 2026-07-19 |
| 24.8.7.2 | Supported, behaves as documented | 2026-07-19 |
| 25.2.0.3 | Supported, behaves as documented | 2026-07-24 |
| 25.8.7.3 | Supported, behaves as documented | 2026-08-06 |
Executed test cases
LibreOffice Calc 25.8.7.3 (tested 2026-08-06)
| Formula | Description | Result | Expected | Verdict |
|---|---|---|---|---|
| =INT(8.9) | Positive fractional number truncates its decimal part | 8 | 8 | Matched |
| =INT(-8.9) | Documented classic divergence from TRUNC: INT always rounds DOWN to the nearest integer (toward negative infinity), so a negative fractional number rounds AWAY from zero | -9 | -9 Per Microsoft's INT function docs, INT(-8.9) = -9 because INT rounds down toward negative infinity, unlike TRUNC(-8.9) = -8 which truncates toward zero -- see the paired TRUNC_negative_truncates_toward_zero case in TRUNC.json for the direct comparison |
Matched |
| =INT(5) | A whole number is returned unchanged | 5 | 5 | Matched |
| =INT(-5) | A whole negative number is returned unchanged (no fractional part to drop) | -5 | -5 | Matched |
Docs & syntax
- Excel: official documentation
- Google Sheets: official documentation
- LibreOffice Calc: official documentation
Related how-to recipes
- How to convert minutes to hours and minutes
- How to remove the time from a date-time
- How to count weeks and days between two dates