instance method Number#ceil

View source on GitHub →

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.