code: public static String getSDbl( double Value, int DecPrec, boolean ShowPlusSign ) {
  		//
  		String PlusSign = "";
  		//
  		if ( ShowPlusSign && Value  > 0 ) PlusSign = "+";
  		if ( ShowPlusSign && Value == 0 ) PlusSign = " ";
  		//
  		return PlusSign + getSDbl( Value, DecPrec );
  	}
docs: <b>getSDbl</b><br>
  public static String getSDbl( double Value, int DecPrec, boolean ShowPlusSign )<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>
  @param Value - value
  @param DecPrec - decimal precision
  @param ShowPlusSign - show plus sign
  @return double as string