+ 1

Can anybody please explain me why the result of 2.05 - 0.05 isn't 2?

https://code.sololearn.com/c31mxWyEkjK6/?ref=app

27th Jul 2017, 3:51 PM
Jnny
3 ответов
27th Jul 2017, 4:04 PM
Hatsy Rei
Hatsy Rei - avatar
+ 2
Thanks to @Hatsy Rei's link, I found a simpler but inaccurate explanation: http://floating-point-gui.de/basic/
27th Jul 2017, 4:13 PM
Jnny