class StringBuilderUtil {

    public static void format3d(@NonNull StringBuilder sb, long x) {
        if (x < 10) {
            sb.append("00");
        } else if (x < 100) {
            sb.append('0');
        }
        sb.append(x);
    }

}