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