floor package:base-compat

floor x returns the greatest integer not greater than x