halfUp method

Decimal halfUp(
  1. int scale
)

Rounds to specified scale using half-up rounding mode

Implementation

Decimal halfUp(int scale) {
  return withScale(scale, RoundingMode.halfUp);
}