def __float(value):
    '''validate a float'''
    valid, _value = False, value
    try:
        _value = float(value)
        valid = True
    except __HOLE__:
        pass
    return (valid, _value, 'float')
dataset/ETHPy150Open saltstack/salt/salt/modules/debian_ip.py/__float