Created
April 17, 2015 04:05
-
-
Save anonymous/36388d8e8d2608ee1c89 to your computer and use it in GitHub Desktop.
This file contains 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
/** | |
* This method displays the given quantity value on the screen. | |
*/ | |
private void displayPrice(int number) { | |
TextView priceTextView = (TextView) findViewById(R.id.price_text_view); | |
priceTextView.setText(NumberFormat.getCurrencyInstance().format(number)); | |
} |
click on NumberFormate
then press ALT + Enter
then import according to API
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
if the auto import didn't import the NumberFormate ,try to click on the NumberFormate then press Alt+Enter keys from your Key board ,a list will appear, choose " import NumberFormate " from the list