摘要: 字符串的数字格式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 阅读全文
posted @ 2012-06-07 17:46 zp_Alex 阅读(277) 评论(0) 推荐(0) 编辑