Forum Discussion
Excell Quick Question Function Large Exponents Precise Numbers ' Function Error?
In some cases, you may be able to prevent rounding errors from affecting your work by using the **Precision as displayed **option. This option forces the value of each number in the worksheet to be the displayed value. To turn on this option, follow these steps.
On the File menu, click Options, and then click the Advanced category.
In the When calculating this workbook section, select the workbook that you want, and then select the Set precision as displayed check box.
For example, if you choose a number format that shows two decimal places, and then you turn on the Precision as displayed option, all accuracy beyond two decimal places is lost when you save your workbook. This option affects the active workbook including all worksheets. You cannot undo this
option and recover the lost data. We recommend that you save your workbook before you enable this option.
Repeating binary numbers and calculations that have near-zero results
Another confusing problem that affects the storage of floating point numbers in binary format is that some numbers that are finite, non-repeating numbers in decimal base 10, are infinite, repeating numbers in binary. The most common example of this is the value 0.1 and its variations. Although these numbers can be represented perfectly in base 10, the same number in binary format becomes the following repeating binary number when it is stored in the mantissa:
000110011001100110011 (and so on)
The IEEE 754 specification makes no special allowance for any number. It stores what it can in the mantissa and truncates the rest. This results in an error of about -2.8E-17, or 0.000000000000000028 when it is stored.
Even common decimal fractions, such as decimal 0.0001, cannot be represented exactly in binary. (0.0001 is a repeating binary fraction that has a period of 104 bits). This is similar to why the fraction 1/3 cannot be exactly represented in decimal (a repeating 0.33333333333333333333).
- XxEarthManxXJul 21, 2020Copper ContributorThanks as I Did Try That as it still does round
https://youtu.be/D6RZPJr4JlI