I\'m using NumberFormat.getCurrencyInstance().format(amount)
to format currency from a BigDecimal to a string. This works as expected the problem is that our ma
Use the applyPattern method:
final DecimalFormat df = (DecimalFormat)NumberFormat.getCurrencyInstance(locale);
df.applyPattern("¤#,##0.##");
Leaving aside the question of whether that particular format is "correct" or not, the way to change the currency instance for the "nl" locale is to implement and configure a custom LocaleServiceProvider for the number format service. (The provider class needs to subclass NumberFormatProvider, but the superclass javadoc explains how to configure the provider.)
The provider needs to return a non-standard NumberFormat
instance for the particular case you are concerned about, but (presumably) delegate to the default provider in other cases.
You can construct your own customized format. Have a look at the following link:
http://docs.oracle.com/javase/tutorial/i18n/format/decimalFormat.html