For what function I can use in android to display the number into different formats.
For eg: If I enter 1000 then it should display like this 1,000. If I enter 1000
try this one hope it will help.
System.out.println(NumberFormat.getNumberInstance(Locale.US).format(1000));