int toInt( )

Truncates this num to an integer and returns the result as an int.

Source

/** Truncates this [num] to an integer and returns the result as an [int]. */
int toInt();