From: Roger Pack Date: 2008-11-11T10:24:42+09:00 Subject: [ruby-core:19791] [Bug #740] bigdecimal rounding errors in 1.8.x Bug #740: bigdecimal rounding errors in 1.8.x http://redmine.ruby-lang.org/issues/show/740 Author: Roger Pack Status: Open, Priority: Normal in 1.8.7: >> BigDecimal.new("0.5").round(-4).to_i => 10000 in 1.9 I think it works. Thanks! ---------------------------------------- http://redmine.ruby-lang.org