doc: Fleshed out Number#ceil slightly.

This commit is contained in:
tjcrowder 2009-09-10 16:18:12 +01:00
parent e5fa0928e8
commit e05a089b33
1 changed files with 2 additions and 0 deletions

View File

@ -90,6 +90,8 @@ Object.extend(Number.prototype, (function() {
* Number#ceil() -> Number
*
* Returns the smallest integer greater than or equal to the number.
* Convenience method that simply calls `Math.ceil` on this instance and
* returns the result.
**/
function ceil() {
return Math.ceil(this);