get the currency format of my country?

Posted by Venkats on Stack Overflow See other posts from Stack Overflow or by Venkats
Published on 2010-03-30T10:34:35Z Indexed on 2010/03/30 10:43 UTC
Read the original article Hit count: 648

Filed under:
|

I want to get the currency format of INDIA. But there exists only few contries code. There is no country code for INDIA.

public void displayCurrencySymbols() {

    Currency currency = Currency.getInstance(Locale.US);
    System.out.println("United States: " + currency.getSymbol());

    currency = Currency.getInstance(Locale.UK);
    System.out.println("United Kingdom: " + currency.getSymbol());

}

But for US, UK are having the Locale. If i want to get INDIAN currency format, then what can i do far that? Is it possible to get all country currency format using java?

© Stack Overflow or respective owner

Related posts about java

Related posts about currency