need space between currency symbol and amount
问题 I'm trying to print INR format currency like this: NumberFormat fmt = NumberFormat.getCurrencyInstance(); fmt.setCurrency(Currency.getInstance("INR")); fmt.format(30382.50); shows Rs30,382.50 , but in India its written as Rs. 30,382.50 (see http://www.flipkart.com/) how to solve without hardcoding for INR? 回答1: It's a bit of a hack but in a very similar situation, I used something like this NumberFormat format = NumberFormat.getCurrencyInstance(new Locale("en", "in")); String currencySymbol =