Flowdock
ceil() public

Returns the smallest Integer greater than or equal to num. Class Numeric achieves this by converting itself to a Float then invoking Float#ceil.

   1.ceil        #=> 1
   1.2.ceil      #=> 2
   (-1.2).ceil   #=> -1
   (-1.0).ceil   #=> -1
Show source
Register or log in to add new notes.