摘要: 方法如下:double myDouble=1.2;int myInt=(int)(myDouble+0.5);console.log(myInt); 阅读全文
posted @ 2014-03-11 16:47 雪红朱 阅读(2287) 评论(0) 推荐(0) 编辑