Here you can find the source of decimal(final int i)
public static String decimal(final int i)
//package com.java2s; //License from project: Open Source License public class Main { public static String decimal(final int i) { if (i < 10) { return "0" + i; }//from w w w .ja v a2s . c o m return Integer.toString(i); } }