code: public static Decimal divideToIntegralValue(Decimal value, Decimal divisor, int precision, int scale) {
  		BigDecimal bd = value.toBigDecimal().divideToIntegralValue(divisor.toBigDecimal());
  		return fromBigDecimal(bd, precision, scale);
  	}
docs: Returns a {@code Decimal} whose value is the integer part
  of the quotient {@code (this / divisor)} rounded down.
  
  @param  value value by which this {@code Decimal} is to be divided.
  @param  divisor value by which this {@code Decimal} is to be divided.
  @return The integer part of {@code this / divisor}.
  @throws ArithmeticException if {@code divisor==0}