摘要: Math对象: (1)常用属性: Math.PI 圆周率 (2)常用方法 Math.random() 生成随机数 Math.floor() 向下取整 Math.ceil() 向上取整 Math.round() 取整,四舍五入 Math.abs() 绝对值 Math.max() 最大值 Math.mi 阅读全文
posted @ 2021-11-26 22:08 ..Shmily 阅读(55) 评论(0) 推荐(0)