摘要: 鉴于java求整时欲生欲死,整理常用math如下:1: java取整 a:floor向下取整 用法:Math.floor(num) Math.floor(1.9)//1 Math.floor(-1.9)//-2 b: round四舍五入 用法:Math.round... 阅读全文
posted @ 2015-08-11 14:27 希恩布劳戈 阅读(5974) 评论(0) 推荐(0) 编辑