(value, default_value=None)
Try parsing snmp varbind_value to float, returning `default_value` on ValueError exception
Try parsing snmp varbind_value to float, returning `default_value` on ValueError exception
Try parsing snmp varbind_value to float returning default_value on ValueError exception
def try_varbind_value_to_float(value, default_value=None):
    # type: (Any, Any) -> Any
    """
    Try parsing snmp varbind_value to float, returning `default_value` on ValueError exception
    """
    try:
        return _varbind_value_to_float(value)
    except ValueError:
        return default_value
def try_varbind_value_to_float ( value , default_value = None ) : # type: (Any, Any) -> Any try : return _varbind_value_to_float ( value ) except ValueError : return default_value