public static String format(int n,String col){
  String res=padd + n;
  return res.substring(res.length() - col.length());
}

public static String format ( int n , String col ) { String res = padd + n ; return res . substring ( res . length ( ) - col . length ( ) ) ; }
pad a number from left .
