Format currency in a language, regardless of country
问题 I want to format an amount of money (in Euros) in the user's language in Java, regardless of the country the user is in: final NumberFormat currencyFormat = NumberFormat.getCurrencyInstance(loc); currencyFormat.setCurrency(EUR); currencyFormat.format(new BigDecimal("1.99")); However, the output for different input locales ( loc ) is as follows: nl_NL: € 1,99 nl_BE: 1,99 € nl_DE: EUR 1,99 nl ( new Locale("nl") ): EUR 1,99 So I have two problems The output does depend on country, not just