ceil()
public
Returns the smallest possible Integer that is
greater than or equal to num.
Numeric achieves this by converting itself to a
Float then invoking Float#ceil.
1.ceil
1.2.ceil
(-1.2).ceil
(-1.0).ceil
Show source
static VALUE
num_ceil(VALUE num)
{
return flo_ceil(rb_Float(num));
}