I have a problem. I work with amounts in application, and I need to localize the format. I use the NumberFormat.getCurrencyInstance()
of java.util.Locale. By most cases it looks just fine. But the negative numbers are the problem. The predefined format for Dutch nl-NL locale looks like this
€ 200,00-
but according to the standards in the Netherlands, it should be
€ -200,00
The example is NumberFormat.getCurrencyInstance(new Locale("nl", "NL")).format(-200)
. I don't want to change the format otherwise.
Any ideas?