def try_convert_float(float_value):
    """
    Try convert object to a float.

    Args:
        Float_value: value of string, float or integer
    Returns:
        Tuple of float and boolean. boolean indicates if value was converted.
    """
    if isinstance(float_value, (float, int)):
        return float_value, True
    try:
        float_value = float(float_value.replace(',', '.'))
        return float_value, True
    except ValueError:
        return 0.0, False
    except:
        print('Error converting {} to float'.format(float_value))
        return 0.0, False
