String formatDecimal(float value, int decimalDigits) {
		if (decimalDigits < 0)
			return "" + value;
		if (formatters == null)
			formatters = new DecimalFormat[formattingStrings.length];
		if (decimalDigits >= formattingStrings.length)
			decimalDigits = formattingStrings.length - 1;
		DecimalFormat formatter = formatters[decimalDigits];
		if (formatter == null)
			formatter = formatters[decimalDigits] = new DecimalFormat(formattingStrings[decimalDigits]);
		return formatter.format(value);
	}