国际化出现数字的点变为逗号的问题

当使用DecimalFormat或者使用String.format来格式化数据时,不要使用
String format(Locale.getDefault, String format, Object... args)来格式化数据,需要使用例如Locale.US等不出现逗号的国家来格式化数据。

猜你喜欢

转载自blog.csdn.net/qq_29342787/article/details/80981058