subtractStrMinZero static method
减 a-b,最小值为0 Subtracts with minimum result of zero Returns "0" if result would be negative
Implementation
static String subtractStrMinZero(String? a, String? b) {
final res = _safeParse(a) - _safeParse(b);
return res < Decimal.zero ? '0' : res.toString();
}