multiplyDec static method

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

乘 (精确相乘,防止精度丢失). multiply (without loosing precision).

Implementation

static Decimal multiplyDec(num a, num b) {
  return multiplyDecStr(a.toString(), b.toString());
}