thanOrEqualDecStr static method

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

Relational less than or equal operator.

Implementation

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