docs: public static double calPercentPrecisely(Number target, Number total) {
          double targetD = target.doubleValue();
          double totalD = total.doubleValue();
          return targetD == totalD ? 100d : targetD / totalD * 100;
      }