[ruby-core:78358] [Ruby trunk Feature#12953] (Float, Integer, Rational)#round(half: :down)
From:
shyouhei@...
Date:
2016-11-25 13:15:23 UTC
List:
ruby-core #78358
Issue #12953 has been updated by Shyouhei Urabe. We looked at this issue at todays developer meeting and no one (including matz who was there) was against it. I believe this is accepted. ---------------------------------------- Feature #12953: (Float, Integer, Rational)#round(half: :down) https://bugs.ruby-lang.org/issues/12953#change-61718 * Author: Shyouhei Urabe * Status: Open * Priority: Normal * Assignee: ---------------------------------------- I learned that The Japanese Ministry of Health, Labor and Welfare requires that the insured burden amount of employment insurance be calculated in round half down mode. Details: http://www.mhlw.go.jp/topics/2005/04/tp0425-2.html Given there is a real-world situation where half-down is actually mandatory, I think we should implement the (currently lacking) `half: :down` option. -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>