operator % method
Euclidean modulo operator.
Implementation
@override
Decimal operator %(DynamicNumber<dynamic> other) {
if (other is DynamicInt) {
return moduloDynamicInt(other);
}
return _moduloDecimal(other.toDecimal());
}
Euclidean modulo operator.
@override
Decimal operator %(DynamicNumber<dynamic> other) {
if (other is DynamicInt) {
return moduloDynamicInt(other);
}
return _moduloDecimal(other.toDecimal());
}