static public BigDecimal scalePrec(final BigDecimal x, int d) {
        return x.setScale(d + x.scale());


    }
static public BigDecimal scalePrec(final BigDecimal x, int d) {
        return x.setScale(d + x.scale());


    }
static public BigDecimal scalePrec ( final BigDecimal x , int d ) { return x . setScale ( d + x . scale ( ) ) ; }
Append decimal zeros to the value. This returns a value which appears to have
a higher precision than the input.

@param x The input value
@param d The (positive) value of zeros to be added as least significant digits.
@return The same value as the input but with increased (pseudo) precision.
Append decimal zeros to the value . This returns a value which appears to have a higher precision than the input .