remainder static method

Decimal remainder(
  1. num? a,
  2. num? b
)

余数 a%b Calculates remainder when dividing first number by second

Implementation

static Decimal remainder(num? a, num? b) {
  return remainderStr(a?.toString(), b?.toString());
}