INT
Supported, behaves as documentedCategory: Math and trigonometry · Last tested 2026-07-04
Support matrix
| Engine | Documented | Live-tested | Verdict |
|---|---|---|---|
| Excel | Yes | Not yet | n/a |
| Google Sheets | Yes | Not yet | n/a |
| LibreOffice Calc | Yes | Yes (24.2.7.2, 2026-07-04) | Supported, behaves as documented |
Executed test cases
LibreOffice Calc 24.2.7.2 (tested 2026-07-04)
| 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