DecimalFormat 西班牙语 使用 DecimalFormat.format 可能会造成输出正确为 . 的地方显示为 , 故 使用
String.format("%.2f",dValue);
String.format(Locale.ENGLISH,"%.2f",dValue);
西班牙字体下符号改变
最新推荐文章于 2022-07-22 21:58:46 发布
DecimalFormat 西班牙语 使用 DecimalFormat.format 可能会造成输出正确为 . 的地方显示为 , 故 使用
String.format("%.2f",dValue);
String.format(Locale.ENGLISH,"%.2f",dValue);