#!/usr/bin/env python3
"""[function that computes the floor of a float]
"""
import math


def floor(n: float) -> int:
    """[function that compûtes the floor of a float]

    Args:
        n (float): [float to be computed]

    Returns:
        int: [result]
    """
    return math.floor(n)
