def get_done_percentage(
        total_number_of_done_tasks: int,
        total_number_of_tasks: int
    ) -> int:
    """
    Get the percentange of done tasks among all the tasks.

    Caculate the percentange of tasks done when given the total number of tasks
    and total done then round it up then return it as an int.

    Args:
    ----
        total_number_of_done_tasks (int): The total number of the done tasks.
        total_number_of_tasks (int): The total number of all tasks.

    Returns
    -------
        An integer which represents the percentage of done tasks.
    """
    return (
        round(total_number_of_done_tasks / total_number_of_tasks * 100)
        if total_number_of_tasks > 0
        else 0
    )