function divideInteger() {
  var set;
  if (divideInteger.arguments.length == 2)
   {
    set = divideInteger.arguments[1];
   }
  else if (divideInteger.arguments.length == 1)
   {
    set = this.plainMC;
   }
  else
   {
    throw "divideInteger(): " + divideInteger.arguments.length + " arguments given; expected 1 or 2";
   }
  var rhs = divideInteger.arguments[0];
  // scale 0 to drop .000 when plain
  return this.dodivide('I',rhs,set,0);
  }
Returns a <code>BigDecimal</code> whose value is the integer
part of <code>this/rhs</code>.
<p>
Implements the integer division operator
(as defined in the decimal documentation, see {@link BigDecimal
class header}),
and returns the result as a <code>BigDecimal</code> object.

@param  rhs The <code>BigDecimal</code> for the right hand side of
            the integer division.
@param  set The <code>MathContext</code> arithmetic settings.
@return     A <code>BigDecimal</code> whose value is the integer
            part of <code>this/rhs</code>.
@throws ArithmeticException if <code>rhs</code> is zero.
@throws ArithmeticException if the result will not fit in the
            number of digits specified for the context.
@stable ICU 2.0