private DecimalFormat getFormatter(int digitsPrecision) {
		int precision = Math.max(0,
			Math.min(digitsPrecision, FloatingPointPrecisionSettingsDefinition.MAX_PRECISION));
		ThreadLocal<DecimalFormat> localFormat = decimalFormatCache.get(precision);
		return localFormat.get();
	}
Format a Number per the Settings parameters.

@param value the number to format
@param settings settings controlling the display of the Number parameter
@return a formatted representation of the Number value
Ghidra/Framework/Docking/src/main/java/docking/widgets/table/GTableCellRenderer.java