随笔分类 -  Math

摘要:Math方法 Math.abs(-12) // 12 取绝对值 Math.ceil(12.3) //13 向上取整 Math.floor(12.3) //12 向下取整 Math.round() 四舍五入 Math.max(12,3,43,23,45,32,54) 求最大值 Math.min(12, 阅读全文
posted @ 2017-10-09 12:26 Scar007 阅读(146) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示