Requires values to be a number and range in a certain range.

    :param string: Value to validate
    :param minimum: Minimum value to accept
    :param maximum: Maximum value to accept
    :param inf: Infimum value to accept
    :param sup: Supremum value to accept
    :type string: str
    :type minimum: float
    :type maximum: float
    :type inf: float
    :type sup: float

def float_range(string, minimum, maximum, inf, sup):
    """ Requires values to be a number and range in a certain range.

    :param string: Value to validate
    :param minimum: Minimum value to accept
    :param maximum: Maximum value to accept
    :param inf: Infimum value to accept
    :param sup: Supremum value to accept
    :type string: str
    :type minimum: float
    :type maximum: float
    :type inf: float
    :type sup: float
    """
    return _inrange(float(string), minimum, maximum, inf, sup)