math对象

math对象: math abs(x) 返回x的绝对值 math ceil(x) 返回x的上舍入 math.floor(x) 返回x的下舍入 math.max(x) 返回最大值 (必须是数字) math.min() 返回最小值 math.random() 返回0-1之间的随机数 math.round
posted @ 2018-12-21 10:28  帅帅的你  阅读(106)  评论(0编辑  收藏  举报