Set rounding precision
You can frequently prevent floating point rounding errors from affecting your work by setting the Precision as displayed option before you apply a number format to your data. This option forces the value of each number in the worksheet to be at the precision that is displayed on the worksheet.
-
Click the Microsoft Office Button
, and then click Excel Options.
-
Click Advanced, and then under When calculating this workbook, select the Set precision as displayed check box, and then click OK.
-
Click OK.
-
In the worksheet, select the cells that you want to format.
-
On the Home tab, click the Dialog Box Launcher
next to Number.
-
In the Category box, click Number.
-
In the Decimal places box, enter the number of decimal places that you want to display.