Last active
February 23, 2016 01:02
-
-
Save chrisjyoon/f31f7a799a85f7d7526c to your computer and use it in GitHub Desktop.
android: show currency by locale
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| NumberFormat.getCurrencyInstance(Locale.US).format(org); | |
| NumberFormat.getCurrencyInstance(Locale.KOREA).format(org); | |
| Locale locale = new Locale("ko", "KR"); | |
| NumberFormat.getCurrencyInstance(locale).format(org); | |
| NumberFormat.getCurrencyInstance(Locale.getDefault()).format(org); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment