数字里的点号和分号

数字的格式高度依赖于地区, 例如 5000.555 在美国显示为 5,000.555,在法国显示为 5 000,555, 而在德国显示为 5.000,555。

根据维基: 中国,美国,英国,都是用点号当小数点。
而法国,德国,意大利,土耳其,匈牙利,希腊,俄罗斯,越南都是用逗号当小数点。

维基上的文章没看完,描述有可能不完整,但是基本上德法的逗号和点号在数字中的含义和中国是相反的。


[1] Introduction to Java Programming 9th. 35.4
[2] https://en.wikipedia.org/wiki/Decimal_separator

猜你喜欢

转载自blog.csdn.net/ftell/article/details/82178864