code: public static String calPercent(Number target, Number total, int digit) {
          return JMString.roundedNumberFormat(calPercentPrecisely(target, total),
                  digit);
      }
docs: Cal percent string.
  
  @param target the target
  @param total  the total
  @param digit  the digit
  @return the string