def do_float(value, default=0.0):
    try:
        return float(value)
    except (TypeError, ValueError):
        return default
Convert the value into a floating point number. If the
dataset/ETHPy150Open IanLewis/kay/kay/lib/jinja2/filters.py/do_float