doc: Fleshed out Number#ceil slightly.
This commit is contained in:
parent
e5fa0928e8
commit
e05a089b33
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue