Are you sure you see the whole number in Excel?
Numbers formatted as "General" will be displayed with an accuracy of 12 digits (or less if the column is not wide enough for ~ 12 digits). For example, if you put the formula "= PI ()" in a cell with a "common" format (by default in Excel) and make the column wide enough, you will see 3.141592654. Note: if the column is not wide enough, you will see even fewer digits of accuracy.
Now format this cell with a custom format number of β0.00000000000000000β and you will see 3.14159265358979000 (if the column is wide enough).
Note that Excel actually stores value = PI () internally with over 15 digits of precision. You can see this by entering "= (PI () - 3.14159265358979)" in the cell - be sure to include the brackets in the formula.
Now, just for fun, type "= PI () - 3.14159265358979" in the cell and you will see that you get zero. In some cases, such as adding or subtracting when the result is βalmost zeroβ, Excel actually converts the result to 0.0 (this can drive you crazy if you don't know what is happening).
Joe Erickson
source share