📌  相关文章
📜  C# 字符串格式每千次分隔 - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:16.541000             🧑  作者: Mango

代码示例1
var nfi = (NumberFormatInfo)CultureInfo.InvariantCulture.NumberFormat.Clone();
nfi.NumberGroupSeparator = " ";
string formatted = 1234897.11m.ToString("#,0.00", nfi); // "1 234 897.11"