A
Alex Zilberberg
Hello!
I spent many hours trying to understand what's going wrong with one complex
financial worksheet. I found very, very strange Excel behaviour. Try to do
this:
1. Open new excel workbook
2. Type "99.9" (without ") in A1 cell
3. Type "3" in A2 cell
4. Type "=A1/A2" in A3 cell
5. Type "=(ROUND(A3,1)-A3)" in A4 cell
I have result in A4 which is NOT ZERO, and it's not possible result! Because
99.9 / 3 IS EXACTLY 33.3 and 33.3 minus 33.3 IS EXACTLY ZERO!
If I enter "=ROUND(A3,1)-A3" result IS zero.
If I enter "=(ROUND(A3,1)-A3)" result is NEVER zero. Rusult is:
-7.1054273576010E-15
If I enter for example "=INT(ROUND(A3,1)-A3)" result is never correct.
Can anybody confirm or better explain this?
Alex
I spent many hours trying to understand what's going wrong with one complex
financial worksheet. I found very, very strange Excel behaviour. Try to do
this:
1. Open new excel workbook
2. Type "99.9" (without ") in A1 cell
3. Type "3" in A2 cell
4. Type "=A1/A2" in A3 cell
5. Type "=(ROUND(A3,1)-A3)" in A4 cell
I have result in A4 which is NOT ZERO, and it's not possible result! Because
99.9 / 3 IS EXACTLY 33.3 and 33.3 minus 33.3 IS EXACTLY ZERO!
If I enter "=ROUND(A3,1)-A3" result IS zero.
If I enter "=(ROUND(A3,1)-A3)" result is NEVER zero. Rusult is:
-7.1054273576010E-15
If I enter for example "=INT(ROUND(A3,1)-A3)" result is never correct.
Can anybody confirm or better explain this?
Alex