Issue #4567 has been updated by Hiroshi NAKAMURA.

Target version changed from 1.9.2 to 1.9.3


----------------------------------------
Bug #4567: BigDecimal::ROUND_HALF_DOWN
http://redmine.ruby-lang.org/issues/4567

Author: Shane Emmons
Status: Assigned
Priority: Normal
Assignee: Kenta Murata
Category: 
Target version: 1.9.3
ruby -v: ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.7.1]


=begin
SImilar to the issue here [[http://redmine.ruby-lang.org/issues/3803]], BigDecimal::ROUND_HALF_DOWN does not respect all the digits involved in the rounding of a number. For example:

(({BigDecimal("1.51").round(0, BigDecimal::ROUND_HALF_DOWN) == BigDecimal("2")})) returns false because it is ignoring the "1". The same fix that was done for ROUND_HALF_EVEN will need to be done here. I believe it has already been fixed in 1.9.3dev, so it should only need to be backported to 1.9.2 and 1.8.7.
=end



-- 
http://redmine.ruby-lang.org