2015年9月24日

C#格式化数值结果表

摘要: C#格式化数值结果表字符说明示例输出C货币string.Format("{0:C3}", 2)$2.000D十进制string.Format("{0:D3}", 2)002E科学计数法1.20E+0011.20E+001G常规string.Format("{0:G}", 2)2N用分号隔开的数字st... 阅读全文

posted @ 2015-09-24 14:56 大西瓜3721 阅读(172) 评论(0) 推荐(0)

导航