limitPrecisionTo method

void limitPrecisionTo(
  1. UcumDecimal other
)

Implementation

void limitPrecisionTo(UcumDecimal other) {
  // Precision can't be greater than other
  if (precision > other.precision) {
    precision = other.precision;
  }
}