摘要: 1.ceil的英文意义是天花板,该方法就表示向上取整,Math.ceil(11.3)的结果为12,Math.ceil(-11.3)的结果是-11; floor的英文意义是地板,该方法就表示向下取整,Math.floor11.6的结果为11,Math.floor(-11.6)的结果是-12; 最难掌握 阅读全文
posted @ 2019-04-19 10:21 Rooker 阅读(421) 评论(0) 推荐(0)