We're updating the issue view to help you get more done. 

RFE: New BigDecimal rounding modes

Description

I would like to suggest adding to the BigDecimal class two new rounding modes:
ROUND_HALF_FLOOR and ROUND_HALF_CEILING. I suppose their meaning is obvious
from the names.

I solved my problem that required the proposed ROUND_HALF_CEILING by adding 0.5
and then using ROUND_FLOOR, but this is less efficient than a builtin mode.

Status

Assignee

Douglas Felt

Reporter

TracBot

Labels

Reviewer

None

Time Needed

Days

Start date

None

Components

Priority

trivial