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