floor method
Returns the greatest integer no greater than this.
If this is not finite (NaN or infinity), throws an UnsupportedError.
Implementation
int floor() => value.floor();
Returns the greatest integer no greater than this.
If this is not finite (NaN or infinity), throws an UnsupportedError.
int floor() => value.floor();