public static BigDecimal setScale(final BigDecimal bd, final int scale) {
        return setScale(bd, scale, BigDecimal.ROUND_HALF_UP);
    }
public static BigDecimal setScale ( final BigDecimal bd , final int scale ) { return setScale ( bd , scale , BigDecimal . ROUND_HALF_UP ) ; }
returns a new BigDecimal with correct scale.

@param bd
@return new bd or null