public int getFormat(Settings settings) {
		if (settings == null) {
			return defaultFormat;
		}
		Long value = settings.getLong(FORMAT);
		if (value == null) {
			return defaultFormat;
		}
		int format = (int) value.longValue();
		if ((format < 0) || (format > CHAR)) {
			format = HEX;
		}
		return format;
	}
Returns the format based on the specified settings

@param settings the instance settings or null for default value.
@return the format value (HEX, DECIMAL, BINARY, OCTAL, CHAR), or HEX if invalid
data in the FORMAT settings value
Ghidra/Framework/Docking/src/main/java/ghidra/docking/settings/FormatSettingsDefinition.java