Truncates this num to an integer and returns the result as an int.
Equivalent to truncate.
int toInt() => value.toInt();