def multiple(a: float):
    """
    Function to obtain multiples of other numbers.

    Parameters
    ----------
    a: float
        The multiple to be used.

    Returns
    -------
    f: float -> float
        Function that takes a number `x` and returns `a * x`.
    """
    def _f(x):
        return a * x
    return _f