Forum Discussion
RedNectar
Feb 25, 2025Brass Contributor
Can anyone explain this behaviour?
Hi Experts, I've been using the BITOR function in a formula - but the weird thing is that it sometimes gives me a #NUM! error when processing two digits where one of the digits is calculated. So he...
- Feb 25, 2025
In an empty workbook, I entered 49 in B1 and =1/(1/B1) in C1, then saved the workbook.
This is how these cells are stored in the XML representation of the worksheet:
As you see, the stored value of C1 is 49.000000000000007, not 49. However, since the 7 is the 17th digit, Excel cannot display it, even if you format C1 as Number with 20 decimal places.
HansVogelaar
Feb 25, 2025MVP
In an empty workbook, I entered 49 in B1 and =1/(1/B1) in C1, then saved the workbook.
This is how these cells are stored in the XML representation of the worksheet:
As you see, the stored value of C1 is 49.000000000000007, not 49. However, since the 7 is the 17th digit, Excel cannot display it, even if you format C1 as Number with 20 decimal places.