divideDec static method

Decimal divideDec(
  1. num a,
  2. num b
)

除 (精确相除,防止精度丢失). divide (without loosing precision).

Implementation

static Decimal divideDec(num a, num b) {
  return divideDecStr(a.toString(), b.toString());
}