Forum Discussion
ValentinasS
Dec 29, 2021Copper Contributor
Calculation problem
Hi,
I`m trying to calculate 39,46-40 and expecting to get -0,54, but getting instead -0,539999999999999
what is the cause of that?
BR,
Val
8 Replies
- Riny_van_EekelenPlatinum Contributor
ValentinasS I suspect that the number you start of with is actually something like 39.46000001, formatted to display only two decimals. Use ROUND if you want Excel to calculate with two decimal accuracy.
- ValentinasSCopper Contributorno, numbers are exactly 39,46 and 40, please try to do that by yourself, I tried it on multiple computers, and the result is the same
- Riny_van_EekelenPlatinum Contributor
ValentinasS Well, not on any of my computers (Mac and PC).