round method

int round()

Rounds this fraction to an integer.

Implementation

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