摘要:
字符串的数字格式stringstr1 =string.Format("{0:N1}",56789); //result: 56,789.0 stringstr2 =string.Format("{0:N2}",56789); //result: 56,789.00 stringstr3 =string.Format("{0:N3}",56789); //result: 56,789.000 stringstr8 =string.Format("{0:F1}",56789); //result: 56789.0 st 阅读全文