divideInt method

  1. @override
Decimal divideInt(
  1. int n2
)
override

Implementation

@override
Decimal divideInt(int n2) {
  if (n2 == 0) {
    _throwDivisionByZero();
  } else if (n2 == 1 || isZero) {
    return this;
  }

  return _divideOperationByIntImpl(n2);
}