Check out example codes for "java how to create india currency". It will help you in understanding the concepts better.

Code Example 1

NumberFormat format = NumberFormat.getCurrencyInstance(new Locale("en", "in")).format(d);

Learn ReactJs, React Native from akashmittal.com