Math.ceil()函数

Math.ceil(12.2)//返回13.0
Math.ceil(12.7)//返回13.0
Math.ceil(12.0)// 返回12.0

posted @ 2017-03-31 15:15  lc_smile36  阅读(192)  评论(0)    收藏  举报