greaterOrEqualDecStr static method

bool greaterOrEqualDecStr(
  1. String a,
  2. String b
)

a是否大于或者等于b

Implementation

static bool greaterOrEqualDecStr(String a, String b) {
  return Decimal.parse(a) >= Decimal.parse(b);
}