Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Decimal point or trailing zeros unexpectedly appear in number in Excel


View products that this article applies to.

Symptoms

In Microsoft Excel, when you type a number into a cell, a decimal point or trailing zeros may be automatically placed in the number. For example, when you type 2158, the number may be displayed as 21.58 in the cell.

↑ Back to the top


Cause

This behavior occurs if the Fixed decimal option is turned on. When the Fixed decimal option is turned on, Excel automatically places a decimal point in the numbers that you enter, based on the number of decimal places defined in the Places box.

↑ Back to the top


Resolution

To resolve this behavior, turn off the Fixed decimal option. To do this, follow the steps appropriate to your version of Excel.

If you are running Microsoft Excel 2000, Microsoft Excel 2002, or Microsoft Office Excel 2003, follow these steps:
  1. Start Excel, and then open your workbook.
  2. On the Tools menu, click Options, and then click the Edit tab.
  3. Click to clear the Fixed decimal check box, and then click OK.
If you are running Microsoft Excel 98 Macintosh Edition, Microsoft Excel 2001 for Mac, Microsoft Excel X for Mac, or Microsoft Excel 2004 for Mac, follow these steps:
  1. Start Excel, and then open your workbook.
  2. On the Edit menu or on the Tools menu, click Preferences, and then click the Edit tab.
  3. Click to clear the Fixed decimal check box, and then click OK.

↑ Back to the top


More information

Turn on the Fixed decimal option when you want to enter numbers with a fixed number of decimal places or trailing zeros. To do this, click to select the Fixed decimal check box. Then, in the Places box, type a positive value for the number of digits that you want to appear to the right of the decimal point. Or, type a negative value for the number of digits that you want to appear to the left of the decimal point. For example, if you type 2 in the Places box, and then type 2158 in the cell, the number is displayed as 21.58. If you type -2 in the Places box, and then type 2158 in the cell, the number is displayed as 215800.

Note To override this option, manually type a decimal point when you type the number.

↑ Back to the top


Keywords: KB305567, kbprb

↑ Back to the top

Article Info
Article ID : 305567
Revision : 7
Created on : 1/31/2007
Published on : 1/31/2007
Exists online : False
Views : 473