Last digits are changed to zeroes when you type long numbers in cells of Excel (269370)
The information in this article applies to:
- Microsoft Office Excel 2003
- Microsoft Excel 2002
- Microsoft Excel 2000
- Microsoft Excel 97 for Windows
- Microsoft Excel 2004 for Mac
- Microsoft Excel X for Mac
- Microsoft Excel 2001 for Mac
- Microsoft Excel 98 Macintosh Edition
This article was previously published under Q269370 SYMPTOMS When you type a number that contains more than 15 digits in
a cell, Microsoft Excel changes any digits past the fifteenth place to zeroes. For
example, if you attempt to type a credit card ID number in the following format
Excel changes the last digit to a zero. CAUSE Excel follows the IEEE 754 specification on how
to store and calculate floating-point numbers. Excel therefore stores only 15
significant digits in a number, and changes digits after the fifteenth place to
zeroes. WORKAROUND To work around this behavior, format the cell as text. The
cell can then display up to 1,024 characters.
Modification Type: | Major | Last Reviewed: | 5/5/2005 |
---|
Keywords: | kbformat kbprb KB269370 |
---|
|