static public BigDecimal scalePrec(final BigDecimal x, final MathContext mc) {
        final int diffPr = mc.getPrecision() - x.precision();


        if (diffPr > 0) {
            return scalePrec(x, diffPr);
        } else {
            return x;
        }


    }
static public BigDecimal scalePrec(final BigDecimal x, final MathContext mc) {
        final int diffPr = mc.getPrecision() - x.precision();


        if (diffPr > 0) {
            return scalePrec(x, diffPr);
        } else {
            return x;
        }


    }
static public BigDecimal scalePrec ( final BigDecimal x , final MathContext mc ) { final int diffPr = mc . getPrecision ( ) - x . precision ( ) ; if ( diffPr > 0 ) { return scalePrec ( x , diffPr ) ; } else { return x ; } }
Boost the precision by appending 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 mc The requirement on the minimum precision on return.
@return The same value as the input but with increased (pseudo) precision.
Boost the precision by appending decimal zeros to the value . This returns a value which appears to have a higher precision than the input .