Hi,

At Fri, 8 Feb 2008 22:35:04 +0900,
Rodrigo Kochenburger wrote in [ruby-talk:290370]:
> I agree this is a problem with BigDecimal. The problem is not with the
> floating point representation:
> 
> >> "%.30f" % BigDecimal.new("15.00")
> => "15.000000000000001776356839400250"
> >> "%.30f" % BigDecimal.new("15.00").to_f
> => "15.000000000000001776356839400250"
> >> "%.30f" % 15.00
> => "15.000000000000000000000000000000"
> 
> Also, it looks like it happens on 64bits machines only.

Could you try the patch in [ruby-dev:33658]?
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-dev/33658

-- 
Nobu Nakada