roundDown property
int
get
roundDown
Rounds down to nearest integer (e.g 4.123456789.roundDown -> 4)
Example:
final number = 4.123456789;
final roundDown = number.roundDown;
// returns: 4
Implementation
int get roundDown => floor();