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
import java.text.NumberFormat;
import java.util.Locale;
double dbValue = 1_23_23_213.89;
Locale lcl = new Locale("hi","IN");
NumberFormat inFrmt = NumberFormat.getNumberInstance(lcl);
System.out.println(inFrmt.format(dbValue)); //12,323,213.89
NumberFormat cur = NumberFormat.getCurrencyInstance(lcl);
System.out.println(cur.format(dbValue)); // ₹12,323,213.89