← All comparisons

ROUND vs INT vs TRUNC: they disagree below zero

On positive numbers these three feel interchangeable and people use whichever they learned first. The differences bite with negatives and with digits: INT always rounds DOWN (toward minus infinity), TRUNC just deletes decimals (toward zero), and only ROUND actually rounds.

The differences at a glance

ROUNDINTTRUNC
2.73 (nearest)2 (down)2 (chop)
-2.5-3 (away from zero on .5)-3 (down = more negative)-2 (toward zero)
Keep some decimalsYes — digits argumentNo — integers onlyYes — TRUNC(x,2) chops to 2 decimals without rounding
Use forMoney, display-safe valuesBucketing, whole units, MOD-style mathCutting precision without changing direction
CompatibilityUniversalUniversalUniversal — all three verified in every version we test

Which should you use?

Compatibility (Excel for the web, Sheets & LibreOffice executed; desktop Excel per docs)

All three execute identically in every LibreOffice build and in the Google Sheets run we execute (desktop Excel per Microsoft's docs — we do not run desktop Excel), including the negative-number edge cases — the differences are mathematical, not cross-app. (FLOOR and CEILING have messier cross-version stories; see their function pages.). Excel for the web is a separate application with its own calculation engine, and that one we do execute: all 12 corpus cases for these functions matched the documented values there (recalculated on OneDrive, 2026-09-01); the per-case values are on the individual function pages.

Example formulas

Round to cents=ROUND(A2,2)
Whole units (floor)=INT(A2)
Strip time from a datetime=TRUNC(A2)

Full per-version details on each function page: ROUND · INT · TRUNC.

How-to recipes using these functions