Android Int to String Convert integerToString(int i)

Here you can find the source of integerToString(int i)

Description

integer To String

Declaration

public static String integerToString(int i) 

Method Source Code

//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;
    }
}