Excel: INT() and TRUNC() Work Differently on Negative NumbersLast reviewed: November 29, 1994Article ID: Q50993 |
The information in this article applies to:
SUMMARYThe two functions TRUNC() and INT() are similar, but return slightly different results for negative numbers. The INT() function rounds a number down to the previous integer. The TRUNC() function simply truncates the decimal portion of a number. A comparison is described in the chart below.
Number INT() TRUNC() ------ ----- ------- 1.5 1 1 1 1 1 -1.5 -2 -1 -1 -1 -1 |
KBCategory: kbother
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |