I am currently working on an Android project where we use string numbers with many digits in it.
So I want to know whether there is a way to convert the string numbers for e.g 1000000000 into comma separated string numbers for e.g(1,00,00,00,000) in Indian Locale format.
I got the US locale format string conversion but I want Indian locale format.
I would use
format("% ,d", number)method ofFormatclass, ensuring that I initialize the Formatter object with the appropriate locale (which I believe isen_INfor Indian).Having said that, it would be easier for people to help you if you posted code on how you are doing it for US locale in the first place.