operator % method
Euclidean modulo operator.
See num.operator%.
Implementation
Decimal operator %(Decimal other) {
var (d1, d2) = _unifyScale(this, other);
return Decimal._(d1._value % d2._value, d1._scale);
}
Euclidean modulo operator.
See num.operator%.
Decimal operator %(Decimal other) {
var (d1, d2) = _unifyScale(this, other);
return Decimal._(d1._value % d2._value, d1._scale);
}