subtract method

double? subtract(
  1. num value
)

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

Implementation

double? subtract(num value) {
  if (this == null) {
    return null;
  }
  return NumUtil.subtractDec(this!, value).toDouble();
}