def convert_str(strr):
    """Convert a string to float, if it's not a float value, return string to represent itself."""
    if strr.lower() == 'true' or strr.lower() == 't':
        return True
    elif strr.lower() == 'false' or strr.lower() == 'f':
        return False

    try:
        float_value = float(strr)
        return float_value
    except ValueError as ex:
        # print(repr(ex))
        pass

    return strr