method
floor

int floor( )

Returns the greatest integer no greater than this.

If this is not finite (NaN or infinity), throws an UnsupportedError.