import java.text.Format; import java.text.NumberFormat; import java.util.Locale;Code:-
Format format = NumberFormat.getCurrencyInstance(new Locale("en", "in"));
Log.e("valueindianstyle",format.format("10000000"));
OUTPUT: Rs 1,00,00,000
Android Tutorial -Learn Android Programming and how to develop android application,activity,lifecycle,service,layout,architecture,debugging,bugs ,handling event others.
No comments:
Post a Comment