【发布时间】:2013-12-09 14:41:54
【问题描述】:
当我像这样对大于 1000 的数字使用格式时:
"{0:F2}" -f 1000
我得到了美国系统语言的 1000.00 结果
我得到了这个1000,00 DE(德语)系统语言的结果。
现在我想避免 , 不使用 replace ",","." 或其他东西。
那么如何获得与文化无关的格式?
【问题讨论】:
标签: powershell formatting powershell-2.0 powershell-3.0 culture