TRUNC
truncates a number to a given precision · from excel · excel: not yet compared · sheets: not yet compared
signature
TRUNC(number, [num_digits])
returns: number
| argument | required |
|---|---|
| number | required |
| num_digits | optional |
examples
formula and result, taken from the engine's own test suite — every result below is asserted in CI, not written by hand.
fx
=TRUNC(2) 2