string ss = "123456789.00";
Console.WriteLine(double.Parse(ss).ToString("n")); 输出结果:123,456,789.00
详情想查看
Powered by: 博客园 Copyright © 2024 LonelyStar Powered by .NET 9.0 on Kubernetes