News
Like other Number subclasses in the Java platform, BigDecimal is immutable, so if you call setScale(), you must “save” the return value: d = d.setScale(2, RoundingMode.HALF_UP); ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results