docs: function resolveFraction(frac) {
    frac = `${frac}`;
    if (Patterns.Percentage.test(frac)) {
      return parseFloat(frac) / 100;
    } else if (Patterns.Number.test(frac)) {
      return parseFloat(frac);
    } else
      throw new Error('Unknown fraction format: ', inp);
  }