method

ceil

v1_9_3_125 - Show latest stable - Class: Float
ceil()
public

Returns the smallest Integer greater than or equal to flt.

1.2.ceil      #=> 2
2.0.ceil      #=> 2
(-1.2).ceil   #=> -1
(-2.0).ceil   #=> -2