Truncates a given number to a specified number of places by removing certain decimal digits.
Syntax
number: The number you want to shorten. Eg., 0.2453
Examples
|
Formula |
Result |
|
=TRUNC(0.2453;2) |
0.24 |
|
=TRUNC(21.880432;3) |
21.88 |
|
=TRUNC(-0.6642;1) |
-0.6 |
Possible Errors
|
Errors |
Meaning |
|
#N/A! |
|
|
#NAME! |
|
|
#VALUE! |
|
|
#REF! |
|
Similar Functions