subtract static method

double subtract(
  1. num a,
  2. num b
)

减 (精确相减,防止精度丢失). subtract (without loosing precision).

Implementation

static double subtract(num a, num b) {
  return subtractDec(a, b).toDouble();
}