code: public static String getSInt( int Value, int CharsCount, char LeadingChar ) {
  		//
  		String Result = "";
  		//
  		if ( CharsCount <= 0 ) {
  			return getSInt( Value );
  		}
  		//
  		String FormatS = "";
  		if ( LeadingChar == '0' ) {
  			FormatS = "%" + LeadingChar + Integer.toString( CharsCount ) + "d";
  		}
  		else {
  			FormatS = "%" + Integer.toString( CharsCount ) + "d";
  		}
  		//
  		Result = String.format( FormatS, Value );
  		//
  		return Result;
  	}
docs: <b>getSInt</b><br>
  public static String getSInt( int Value, int CharsCount, char LeadingChar )<br>
  Returns int converted to string.<br>
  If CharsCount > base int string length<br>
  before base int string adds relevant leading chars.<br>
  If CharsCount <= base int string length<br>
  returns base int string.<br>
  
  @param Value - value
  @param CharsCount - chars count
  @param LeadingChar - leading char
  @return int as string