String localizedFormatString = localizedStringForKey(formatString); formatString = formatString == null ? "#,##0.00;-(#,##0.00)" : localizedFormatString == null ? formatString : localizedFormatString;
formatString = formatString == null ? "#,##0.00;-(#,##0.00)" : formatString; formatString = localizedStringForKeyWithDefault(formatString);
    public Format localizedNumberFormatForKey(String formatString) {        String localizedFormatString = localizedStringForKey(formatString);    	formatString = formatString == null            ? "#,##0.00;-(#,##0.00)"            : localizedFormatString == null                 ? formatString                 : localizedFormatString;   		Format result = (Format)_numberFormatters.get(formatString);		if(result == null) {			synchronized(_numberFormatters) {				NSNumberFormatter formatter = new ERXNumberFormatter();				formatter.setLocale(locale()); 				formatter.setLocalizesPattern(true);				formatter.setPattern(formatString);				result = formatter;				_numberFormatters.put(formatString, result);			}		}		return result;	}