2017年6月15日

摘要: 怎么向上取整、向下取整: 方法1:用Math.round计算,这里返回的数字格式的. 1 2 3 4 float price=89.89; int itemNum=3; float totalPrice=price*itemNum; float num=(float)(Math.round(tota 阅读全文
posted @ 2017-06-15 23:19 小凉橙 阅读(123) 评论(0) 推荐(0) 编辑

导航