2

是否可以在 en_CA 语言环境中的 sprintf 中使用逗号作为小数点分隔符?

4

1 回答 1

2

sprintf 是区域设置感知的,并且将始终使用当前的区域设置,但您可以为此使用 number_format

于 2012-10-02T18:45:44.203 回答