看來N會包含數千個分隔符,而0.00則不會。
N2將以500.00的方式工作,但是當您有5000.00時,N2將顯示為
5,000.00
代替
5000.00
If you do this instead: 0.ToString("0.##"); you get: 0
Interestingly, if you do this: 0.ToString("#.0#"); you get: .0
If you want all three digits: 0.ToString("0.00"); produces: 0.00
