← All functions

INT

Supported, behaves as documented

Category: Math and trigonometry · Last tested 2026-07-04

Support matrix

EngineDocumentedLive-testedVerdict
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)

FormulaDescriptionResultExpectedVerdict
=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