- Math.round()四舍五入
- Math.random()返回0-1之间的随机数
- Math.max(a,b)返回较大的值
- Math.min(a,b)返回较小的值
- Math.abs()绝对值
- Math.ceil()向上取整
- Math.floor()向下取整
- Math.pow(x,y)x的y次方
- Math.sqrt()开平方
Math对象
最新推荐文章于 2024-10-14 00:15:00 发布

被折叠的 条评论
为什么被折叠?