You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Jacques Le Roux <ja...@les7arts.com> on 2014/07/24 18:58:38 UTC
BigDecimal update
I don't think we want to change that (yet?)
But I just read at http://docs.oracle.com/javase/7/docs/api/java/math/BigDecimal.html :
<<Using the integer fields in this class (such as |ROUND_HALF_UP| <http://docs.oracle.com/javase/7/docs/api/java/math/BigDecimal.html#ROUND_HALF_UP>)
to represent rounding mode is largely obsolete; the enumeration values of the |RoundingMode| |enum|, (such as |RoundingMode.HALF_UP|
<http://docs.oracle.com/javase/7/docs/api/java/math/RoundingMode.html#HALF_UP>) should be used instead.>>
Just saying
Jacques