emiperez / java-basque-locale

Automatically exported from code.google.com/p/java-basque-locale
1 stars 0 forks source link

Add number format localization (NumberFormatProvider) #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
E.g. for currency formatting:

System.out.println(NumberFormat.getCurrencyInstance(new Locale("es", 
"ES")).format(1.23));

Expected output:

1.234,56 €

Actual output:

EUR 1,234.56

----

I believe this is done by providing a NumberFormatProvider implementation.  Are 
there any plans to do this?

Original issue reported on code.google.com by tom.cl...@papercut.com on 24 Apr 2012 at 2:22