lt : `double`, optional
        default value to return in case of pasring errors, by default numpy.inf

    Returns
    -------
    `double`
        the parsed value
    &#34;&#34;&#34;
    try:
        return float(value)
    except ValueError:
        return default


def int_def(value, default=0):
    &#34;&#34;&#34;Parse the value into a int or return the default value.

    Parameters
    ----------
    value : `str`
        the value to parse
    default : `int`, optional
        default value to ret