Java tutorial
//package com.java2s; public class Main { private static String padSuraNumber(int number) { return number < 10 ? "00" + number : number < 100 ? "0" + number : String.valueOf(number); } }