2014年11月5日
摘要: double temp=3.1415926;(F)Fixed point:string str1=temp.toString("f1");//保留一位小数 四舍五入 结果:3.1(F)Fixed point:string str2=temp.toString("f2");//保留两位小数,四舍五入... 阅读全文
posted @ 2014-11-05 11:36 纳米程序员 阅读(14625) 评论(0) 推荐(2)