摘要: // Math.ceil() 返回大于等于数字参数的最小整数(取整函数),对数字进行上舍入 // Math.floor() 返回小于等于数字参数的最大整数,对数字进行下舍入 // Math.round() 返回数字最接近的整数,四舍五入 export class Random{ /** * startAt-maxItem的随机整数,包含startAt但不包含maxItem ... 阅读全文
posted @ 2017-08-10 13:49 鱼肥肥与肥肥鱼 阅读(241) 评论(0) 推荐(0) 编辑