Actions
Bug #740
closedbigdecimal rounding errors in 1.8.x
Description
=begin
in 1.8.7:
BigDecimal.new("0.5").round(-4).to_i
=> 10000
in 1.9 I think it works.
Thanks!
=end
Updated by rogerdpack (Roger Pack) over 15 years ago
=begin
see also the original bug post:
http://rubyforge.org//tracker/?func=detail&atid=1698&aid=14271&group_id=426
and another [related?]
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=15108&group_id=426
Thanks!
-=R
=end
Updated by matz (Yukihiro Matsumoto) over 15 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
=begin
Applied in changeset r20228.
=end
Actions
Like0
Like0Like0