floor(*args)
public
Returns the largest number less than or equal to num with a
precision of ndigits decimal digits (default: 0).
Numeric implements this by converting its value
to a Float and invoking Float#floor.
Show source
static VALUE
num_floor(int argc, VALUE *argv, VALUE num)
{
return flo_floor(argc, argv, rb_Float(num));
}