method

to_int

v2_4_6 - Show latest stable - Class: Float
to_int()
public

Returns the float truncated to an Integer.

Synonyms are #to_i and #to_int