Code example for DecimalFormat

Methods: setMinimumFractionDigits

0
 
	public static final SimpleDateFormat sqlDateFormatter = new SimpleDateFormat("yy-MM-dd'T'HH:mm:ss'Z'");
	public static final SimpleDateFormat utilDateFormatter = new SimpleDateFormat("yyMMdd'_'HHmmss");
	public static final SimpleDateFormat textDateFormatter = new SimpleDateFormat("MM.dd.yy");
 
	public static final DecimalFormat coordinateFormatter = new DecimalFormat();
	static { 
		coordinateFormatter.setMinimumFractionDigits(4);
	} 
 
	public static final int TIMEOUT = 30000; // 30 seconds
 
	public static final boolean DEBUG_MODE = false;
 
	public static String appVersion;
 
	public static final int THEME_DEFAULT = 0;
	private static int theme = THEME_DEFAULT;
 
	private static final int OUTPUT_X = 800;
	private static final int OUTPUT_Y = 600;