add static method

Decimal add(
  1. num? a,
  2. num? b
)

加 a+b Adds two nullable numbers with precise decimal arithmetic

Implementation

static Decimal add(num? a, num? b) {
  return _safeParseNum(a) + _safeParseNum(b);
}