need space between currency symbol and amount

前端 未结 5 796
余生分开走
余生分开走 2021-02-13 13:09

I\'m trying to print INR format currency like this:

NumberFormat fmt = NumberFormat.getCurrencyInstance();
fmt.setCurrency(Currency.getInstance(\"INR\"));
fmt.fo         


        
5条回答
  •  一整个雨季
    2021-02-13 13:40

    I dont think you can.

    You should take a look at http://site.icu-project.org/

    There might be better locale-specific currency formatting provided by icu4j.

提交回复
热议问题