Here you can find the source of integerToString(int i)
public static String integerToString(int i)
//package com.java2s; public class Main { public static String integerToString(int i) { String str1 = Integer.toString(i); if (i < 10 && i >= 0) { str1 = "0" + str1; }/*from w w w. j av a2s .co m*/ return str1; } }