Set default currency-symbol-format-locale to US locale.

This commit is contained in:
Ali Moghnieh 2016-08-04 16:38:31 +01:00
parent 1c009e1ebc
commit 5187be5d02
No known key found for this signature in database
GPG Key ID: F09D3A1BAF2E6D70

View File

@ -1298,7 +1298,7 @@ public class Settings implements net.ess3.api.ISettings {
decimalFormatSymbols = DecimalFormatSymbols.getInstance(Locale.forLanguageTag(symbolLocaleString)); decimalFormatSymbols = DecimalFormatSymbols.getInstance(Locale.forLanguageTag(symbolLocaleString));
} else { } else {
// Fallback to the JVM's default locale // Fallback to the JVM's default locale
decimalFormatSymbols = DecimalFormatSymbols.getInstance(); decimalFormatSymbols = DecimalFormatSymbols.getInstance(Locale.US);
} }
DecimalFormat currencyFormat = new DecimalFormat(currencyFormatString, decimalFormatSymbols); DecimalFormat currencyFormat = new DecimalFormat(currencyFormatString, decimalFormatSymbols);