FormulaCamp
Completed
← All functions
Math

TRUNC

Cuts off the decimal part without rounding.

Syntax

TRUNC(number, [num_digits])

Example: =TRUNC(-4.7)

Available in: All versions

Try it

A tiny spreadsheet with example data. Edit the formula or any number and see the result.

Formula in D2: =TRUNC(A4)

Example spreadsheet for TRUNC
ABCD
1NumberStepResult
21234.56750-4
3175
4-4.712
51449
62.53
75012
Result in D2: -4
Practice this in a lesson: INT, MOD, QUOTIENT

More in Math