code: public static BigDecimal setScale(final BigDecimal bd, final int scale) {
          return setScale(bd, scale, BigDecimal.ROUND_HALF_UP);
      }
docs: returns a new BigDecimal with correct scale.
  
  @param bd
  @return new bd or null