operator + method

Percent operator +(
  1. Percent other
)

Implementation

Percent operator +(Percent other) {
  if (precision != other.precision) throw 'precisions-do-not-match';
  return Percent.fromFMU(fmu + other.fmu, precision);
}