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); ...
@grekker happy to help address this situation. What kind of rollup (COUNT, COUNT_DISTINCT, etc …) are you configuring, and what are the field types (Number 18,0, for instance) that you are using ...
BigDecimal provides operations for arithmetic, scale manipulation, rounding, comparison, hashing, and format conversion. We studied the impact of BigDecimal usage on the performance of server-side ...