truncate method

int truncate()

Truncates this fraction to an integer.

Implementation

int truncate() => toDouble().truncate();