operator ~/ method

BigInt operator ~/(
  1. Decimal other
)

Truncating division operator.

See num.operator~/.

Implementation

BigInt operator ~/(Decimal other) {
  var (d1, d2) = _unifyScale(this, other);
  return d1._value ~/ d2._value;
}