摘要:
首先还是看看《The Definitive Guide, 4th Edition》书中对三个函数的的定义。Math.ceil(x): round a number upArguments: Any numeric value or expressionReturns: The closest integer greater than or equal to x.-----------------------------------------------------------------------------------------------------Math.floor(x): ro 阅读全文