Strange results..?

Hello people,

Here I get some strange (for me) results :

irb(main):012:0> 0.4 - 0.3 - 0.1
=> 2.77555756156289e-17

irb(main):013:0> 0.5 - 0.4 - 0.1
=> -2.77555756156289e-17

irb(main):017:0> 0.2 + 0.7 - 0.9
=> -1.11022302462516e-16

Can somebody explain what happens here or point me some place where i
can get information for this topic?
Thanks in advance!

On Mar 13, 5:59 pm, psy [email protected] wrote:

=> -2.77555756156289e-17

irb(main):017:0> 0.2 + 0.7 - 0.9
=> -1.11022302462516e-16

Can somebody explain what happens here or point me some place where i
can get information for this topic?
Thanks in advance!