add method

double? add(
  1. num value
)

加 (精确相加,防止精度丢失). add (without loosing precision).

Implementation

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