Subject: Just found a round problem
From: Ruby Newbee <rubynewbee gmail.com>
Date: Sun, 29 Nov 2009 12:36:24 +0900
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.