Calculate Precision As Displayed Versus Format NumberLast reviewed: June 9, 1997Article ID: Q25653 |
2.x 3.x 4.x 5.00 5.00c 7.00
WINDOWS
kbusage
The information in this article applies to:
SUMMARYIn Microsoft Excel, numbers are rounded based on their stored values rather than on their displayed values. When you format numbers by choosing the Cells command from the Format menu (the Numbers command in versions earlier than 5.0), you alter the way the numbers are displayed; however, when you calculate numbers, the calculations are performed with the stored versions of these numbers. When you calculate formatted values, you may receive unexpected results because the displayed versions of the numbers may be slightly different than their stored values.
WORKAROUNDTo calculate numbers based on their displayed values, select the Precision As Displayed option. This option truncates numbers in cells so that the stored number is the same as the displayed number. To select the Precision As Displayed option, follow the appropriate procedure below.
Microsoft Excel versions 5.0 and later
Microsoft Excel versions 4.x and earlier
MORE INFORMATIONThe Precision As Displayed command typically is used to prevent rounding errors when working with currency.
|
KBCategory: kbusage
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |