C#格式化数值结果表

字符 html 说明 git 示例 post 输出 ui Cthis 货币spa string.Format("{0:C3}", 2)orm $2.000xml Dhtm 十进制blog string.Format("{0:D3}", 2) 002 E 科学计数法 1.20E+001 1.20E+001 G 常规 string.Format("{0:G}", 2) 2 N 用分号隔开的数字 str
相关文章
相关标签/搜索