2012年1月12日
摘要: int t=45;string s1 = t.ToString("F3");//表示转换后,小数点后面的数的个数或者可以这么写 string s1 = t.ToString("0.000");//string s2 = t.ToString("X3");//"D"相当于"X"表示转换后,输出的数字的个数string s3 = t.ToString("n");//千分符号 即: 4,100,000 阅读全文
posted @ 2012-01-12 11:32 张扬个性,敢为天下先 阅读(1022) 评论(0) 推荐(0) 编辑