divideDecStr static method

Rational divideDecStr(
  1. String a,
  2. String b
)

Implementation

static Rational divideDecStr(String a, String b) {
  return Decimal.parse(a) / Decimal.parse(b);
}