摘要: 恢复内容开始 ceil():将小数部分一律向整数部分进位。如: Math.ceil(12.2)//返回13 Math.ceil(12.7)//返回13 Math.ceil(12.0)// 返回12 floor():一律舍去,仅保留整数。 如: Math.floor(12.2)// 返回12 Math 阅读全文
posted @ 2019-04-16 10:44 鸡腿太小 阅读(222) 评论(0) 推荐(0) 编辑