This discussion is archived
3 Replies Latest reply: Jun 7, 2010 3:09 PM by 843810 RSS

Gaining control of currency formatting for some locales

843810 Newbie
Currently Being Moderated
I am interested in gaining access to formatting for locales. I am currently in need of currency formatting for Indonesia. When I format using NumberFormat.getCurrencyInstance().format(new BigDecimal(0)); I get "IDR 0.00" whereas I would expect to get " Rp0". For some reason the ISO currency code is used for the symbol and the maximun fraction digits seems to be incorrect. Is there a way to make these changes centrally e.g. to Locale rather than having to find each instance of getCurrencyInstance() ?

Any help would be appreciated. Thanks in advance.