irb(main):026:0> 10.499999999999999.round
=> 10
irb(main):027:0> 10.4999999999999999.round
=> 11


Does this happen due to the float problem in any languages including ruby?
Thanks.