TRUNC
Discard digits beyond a chosen precision without rounding away from zero.
Syntax
=TRUNC(number, [num_digits])Worked example
Discard everything beyond the first decimal place.
=TRUNC(-3.29,1)Result −3.2
Microsoft documentation
Check the arguments, supported editions and behavior of this function in Microsoft’s reference.
Microsoft referenceExcel TRUNC Function Tutorial
Practice TRUNC
Discard everything beyond the first decimal place.
| A | B | |
|---|---|---|
| 1 | ||
| 2 | ||
| 3 |
Show example formula
=TRUNC(B2,B3) Lesson quiz
Answer three questions to see your level in this lesson.
