3 Replies Latest reply on Jun 7, 2010 10:09 PM by 843810

    Gaining control of currency formatting for some locales

      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.