code: public void round(int thePrecision) {
  		if (getValue() != null) {
  			BigDecimal newValue = getValue().round(new MathContext(thePrecision));
  			setValue(newValue);
  		}
  	}
docs: Rounds the value to the given prevision
  
  @see MathContext#getPrecision()