code: public static String getSDbl( double Value, int DecPrec, boolean ShowPlusSign, int StringLength ) {
  		//
  		String Info = "";
  		//
  		String SDbl = getSDbl( Value, DecPrec, ShowPlusSign );
  		//
  		if ( SDbl.length() >= StringLength ) return SDbl;
  		//
  //		String SpacesS = "            ";
  		String SpacesS = getSpaces( StringLength );
  		//
  		Info = SpacesS.substring( 0, StringLength - SDbl.length() ) + SDbl;
  		//
  		return Info;
  	}
docs: <b>getSDbl</b><br>
  public static String getSDbl( double Value, int DecPrec, boolean ShowPlusSign, int StringLength )<br>
  Returns double converted to string.<br>
  If Value is Double.NaN returns "NaN".<br>
  If DecPrec is < 0 is DecPrec set 0.<br>
  If ShowPlusSign is true:<br>
  - If Value is > 0 sign is '+'.<br>
  - If Value is 0 sign is ' '.<br>
  If StringLength is > base double string length<br>
  before base double string adds relevant spaces.<br>
  If StringLength is <= base double string length<br>
  returns base double string.<br>
  @param Value - value
  @param DecPrec - decimal precision
  @param ShowPlusSign - show plus sign
  @param StringLength - string length
  @return double as string