def to_int(value: str) -> int:
    """
    Convert a single character to an integer, where A equals 0.

    Note: This method is case insensitive.

    :param value: a character
    :return: an integer representation
    """
    return ord(value.upper()) - ord("A")