From e05a089b335181737eca73ba62a34ab5c0253c96 Mon Sep 17 00:00:00 2001 From: tjcrowder Date: Thu, 10 Sep 2009 16:18:12 +0100 Subject: [PATCH] doc: Fleshed out Number#ceil slightly. --- src/lang/number.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lang/number.js b/src/lang/number.js index 6825b84..c7f3781 100644 --- a/src/lang/number.js +++ b/src/lang/number.js @@ -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);