100.ToString("n");结果是100.00
100.ToString("c");结果是¥100.00
100.ToString("e");结果是1.000000e+002
100.ToString("f4");结果是100.0000
100.ToString("p");结果是10,000.00%
100.ToString("n");结果是100.00
100.ToString("c");结果是¥100.00
100.ToString("e");结果是1.000000e+002
100.ToString("f4");结果是100.0000
100.ToString("p");结果是10,000.00%
转载于:https://www.cnblogs.com/wall-e/p/3544316.html