addDecStr static method
加
Implementation
static Decimal addDecStr(String? a, String? b) {
if (a == null || a.isEmpty || a == 'null') {
a = '0';
}
if (b == null || b.isEmpty || b == 'null') {
b = '0';
}
return Decimal.parse(a) + Decimal.parse(b);
}