I was playing with the python command line, and saw that when I type
1.2 + 0.6
I get 1.7999999999999998, but when I type
1.2 + 0.5
I get 1.7,
Moreover, 1.2 + 0.9 gives 2.1000000000000001.
Does anyone know what's happening in here?
I'm just curious...