method

truncate

v1_9_1_378 - Show latest stable - Class: Numeric
truncate()
public

Returns num truncated to an integer. Numeric implements this by converting its value to a float and invoking Float#truncate.