lessThanDecStr static method

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

Relational less than operator.

Implementation

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