BigDecimal update

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

BigDecimal update

Jacques Le Roux
Administrator
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