All of Excel's number formats use either two or zero decimal places. The exception is General format, which uses as many places as needed for a value. You can establish a fixed number of decimal places or let Excel automatically round numbers for you. The following sections examine both ways to work with decimal places. Establishing a Fixed Number of Decimal PlacesTo establish a fixed number of decimal places, use a numeric format other than General format. Two tools on the Formatting toolbar enable you to change the number of decimal places for numbers. The tools are Increase Decimal (its icon contains .0 and .00 with a left arrow) and Decrease Decimal (its icon contains .0 and .00 with a right arrow). Here's how these tools work:
In the To Do exercise, you change the number of decimal places from two to zero for numbers in the Sales workbook. To Do: Specify Decimal Places
Rounding NumbersExcel can store up to 15 decimal places for a value. Many of Excel's preformatted format settings round numbers to two decimal places. For instance, if you enter the value $50.768 into a cell, Excel displays $50.77 . Excel uses a dollar format to display the value with two decimal places and a dollar sign. Remember that the value in the cell has not been changed. The value is merely displayed to look like it has been changed. The cell's actual value is still 50.768 , and any references to this cell's value receive the value 50.768 . Therefore, formatted values are not rounded at all; they only appear to be rounded. To round numbers, use the Increase Decimal and Decrease Decimal tools on the Formatting toolbar. |