I want to get the currency format of India, so I need a Locale object for India. But there exists only few a countries that have a Locale constant
Locale
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 .