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 .