method

floor

v2_5_5 - Show latest stable - Class: Numeric
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.