Get the currency format for a country that does not have a Locale constant
According to the JDK release notes, you have locale codes hi_IN
(Hindi) and en_IN
(English).
System.out.println(Currency.getInstance(new Locale("hi", "IN")).getSymbol());
heres is simple thing u can do ,
float amount = 100000;
NumberFormat formatter = NumberFormat.getCurrencyInstance(new Locale("en", "IN"));
String moneyString = formatter.format(amount);
System.out.println(moneyString);
The output will be , Rs.100,000.00 .