getMaxDecimalLength static method

int getMaxDecimalLength(
  1. double a,
  2. double b,
  3. double c,
  4. double d,
)

Implementation

static int getMaxDecimalLength(double a, double b, double c, double d) {
  int result = max(getDecimalLength(a), getDecimalLength(b));
  result = max(result, getDecimalLength(c));
  result = max(result, getDecimalLength(d));
  return result;
}