divideNumAsDecimal method

  1. @override
Decimal divideNumAsDecimal(
  1. num n2
)
override

Implementation

@override
Decimal divideNumAsDecimal(num n2) {
  if (n2 is int) {
    return divideIntAsDecimal(n2);
  } else {
    return divideDoubleAsDecimal(n2.toDouble());
  }
}