Actions
Feature #12953
closed(Float, Integer, Rational)#round(half: :down)
Status:
Closed
Assignee:
-
Target version:
-
Description
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.
Updated by nobu (Nobuyoshi Nakada) about 8 years ago
- Subject changed from (Float, Rational)#round(half: :down) to (Float, Integer, Rational)#round(half: :down)
Updated by mrkn (Kenta Murata) about 8 years ago
- Related to Bug #12952: Incompatibility of a method signature between `Float#round` and `BigDecimal#round` added
Updated by shyouhei (Shyouhei Urabe) about 8 years ago
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.
Updated by nobu (Nobuyoshi Nakada) about 8 years ago
- Status changed from Open to Closed
Actions
Like0
Like0Like0Like0Like0