code: private Format decimalFormat(int fractionPrecision) {
  		DecimalFormat format;
  		if (fractionPrecision == 0) {
  			format = new DecimalFormat("###0");
  		} else if (fractionPrecision > 0) {
  			StringBuilder formatSb = new StringBuilder();
  			formatSb.append("###0.");
  			appendChars(formatSb, ZERO_CHARS, fractionPrecision);
  			format = new DecimalFormat(formatSb.toString());
  		} else {
  			format = new DecimalFormat("###0.###");
  		}
  		return format;
  	}
docs: -d.ddd+-dd style, if no precision then 6 digits, 'inf', nan', if 0 precision then ""