Function · Rounding

Excel TRUNC function

The Excel TRUNC function cuts off extra digits toward zero. TRUNC(-2.9) is -2. INT(-2.9) is -3.

All current Excel versions. Also in Excel for the web and Google Sheets.

Syntax =TRUNC(number, [num_digits])

TRUNC
=TRUNC(-2.9)

Arguments

NameRequiredWhat to pass
numberRequiredThe number to cut.
num_digitsOptionalDecimal places to keep. The default is 0. Extra digits are dropped, not used for rounding. A negative number of digits cuts to the left of the decimal point.

Examples

Cut -2.9 toward zero

=TRUNC(-2.9)

Result -2

=TRUNC(B1)B2
Cut
AB
1Value-2.9
2Truncated-2
A picture of the sheet, not a live calculator. Toward zero, not toward negative infinity.

TRUNC drops extra digits and moves toward zero. -2.9 becomes -2, not -3. That is the difference from INT, which always goes down the number line. INT(-2.9) is -3. On a positive number the two agree: TRUNC(2.9) and INT(2.9) are both 2.

A second argument keeps decimal places. TRUNC(19.996, 2) is 19.99. ROUND(19.996, 2) is 20, because ROUND looks at the next digit and TRUNC does not. ROUNDDOWN of a positive number matches TRUNC. ROUNDDOWN of a negative number also moves toward zero, so for this job the two are the same. Use TRUNC when the leftover fraction should disappear rather than change the last kept digit. COMBIN cuts both arguments the same way before it counts. COMBIN(10.9, 3.2) is COMBIN(10, 3), which is 120.