greaterThanDecStr static method

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

Relational greater than operator.

Implementation

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