code: public BigDecimal toBigDecimal(Integer scale, Rounding rounding, boolean stripTrailingZeros) {
  	    out = this.in;
  	    
  	    if (scale != null && rounding != null)
  	        out = out.setScale(scale, rounding.getBigDecimalRound());
  	    else if (scale != null && rounding == null)
  	        out = out.setScale(scale);
  	    
  	    if (stripTrailingZeros)
  	        out = out.stripTrailingZeros();
  	    
  	    return out;
  	}
docs: Return BigDecimal with given parameters.
  
  @param scale
  @param rounding
  @param stripTrailingZeros
  @return BigDecimal