📅  最后修改于: 2022-03-11 14:52:20.106000             🧑  作者: Mango
代码示例1
float price = 10.99f;
NumberFormat priceFormat = NumberFormat.getCurrencyInstance();
String priceString = priceFormat.format(price);