method

truncate

v1_8_7_330 - 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.