@Override
    public StringBuffer format(double number, StringBuffer toAppendTo, FieldPosition pos) {
        int initLength = toAppendTo.length();
        super.format(number, toAppendTo, pos);
        return pad(toAppendTo, initLength);
    }
Creates a PaddingDecimalFormat using the given pattern and minimum minimumLength and the
symbols for the default locale.
tools/src/main/java/org/apache/kafka/tools/automq/perf/PaddingDecimalFormat.java