Loading

摘要: // 一、Math.round()作用:四舍五入返回整数。(返回参数+0.5后,向下取整) // Math.round(5.57) //返回6 // Math.round(2.4) //返回2 // Math.round(-1.5) //返回-1 // Math.round(-5.8) //返回-6 阅读全文
posted @ 2019-08-03 14:32 Sam Xiao 阅读(1001) 评论(0) 推荐(0) 编辑