试着单击NF按钮,就会看到该值被正确地接受了,即使其中含有逗号或其他当地的分组分隔符。
Try clicking on the NF button and you'll see that the values are accepted properly even with the commas or other local grouping separators.
除了数值之外,逗号也被标记为一个分组分隔符,百分号被标记为一个百分数。
Besides the Numbers, the comma is also flagged as a grouping separator and the percent sign is flagged as a percent.
错误的原因是在美国地区使用逗号作为分组分隔符。
The reason for the error is the comma used as a grouping separator for the U.S. locale.
但是您仍需要处理所有的繁琐细节—比如,在不同语言内使用的不同的小数和分组分隔符—若intl能代劳的话,您自然会非常乐意。
But when you have to handle all the boring details - different decimal and grouping separators used in different languages, for example - you will like that you can use intl to do it for you.
在小数分隔符后面的分组分隔符会导致截断。
A grouping separator that occurs after a decimal separator results in truncation.
任何假设所有地区都使用相同的分组分隔符和小数分隔符在美国这里分别使用“,”和“。”
Any program that assumes the same grouping and decimal separators (again, the U.S. example here USES ", "and". "respectively) for all locales just won't work.
不同的语言环境常常使用不同的符号来表达一些常见概念,如货币、小数和分组分隔符、数学符号等。
Every locale USES different symbols to express common concepts, such as currencies, decimal and grouping separators, and mathematical symbols.
DecimalFor matSymbols对象包含了诸如合适的小数分隔符、分组分隔符及负号标记在内的信息。
The DecimalFormatSymbols object contains information such as the appropriate decimal and grouping separators and minus sign symbol.
DecimalFor matSymbols对象包含了诸如合适的小数分隔符、分组分隔符及负号标记在内的信息。
The DecimalFormatSymbols object contains information such as the appropriate decimal and grouping separators and minus sign symbol.
应用推荐