common_helper/src/main/java/com/xiongyingqi/util/StringUtil.java
public static String fillZero(long number, int length) {
        StringBuilder builder = new StringBuilder();
        int least = length - numberLength(number);
        char[] zeros = new char[least];
        for (int i = 0; i < least; i++) {
            zeros[i] = '0';
        }
        builder.append(new String(zeros));
        builder.append(number);
        return builder.toString();
    }
public static String fillZero(long number, int length) {
        StringBuilder builder = new StringBuilder();
        int least = length - numberLength(number);
        char[] zeros = new char[least];
        for (int i = 0; i < least; i++) {
            zeros[i] = '0';
        }
        builder.append(new String(zeros));
        builder.append(number);
        return builder.toString();
    }
填充0 <br>
2013-10-31 下午2:46:15

@param number
@param length
@return