diff --git a/src/lang/number.js b/src/lang/number.js index c7f3781..7f4ef9b 100644 --- a/src/lang/number.js +++ b/src/lang/number.js @@ -101,6 +101,8 @@ Object.extend(Number.prototype, (function() { * Number#floor() -> Number * * Returns the largest integer less than or equal to the number. + * Convenience method that simply calls `Math.floor` on this instance and + * returns the result. **/ function floor() { return Math.floor(this);