def get_percentage(part, whole):
    """Utility method for getting percentage of part out of whole

    Parameters
    ----------
    part: int, float
    whole: int, float

    Returns
    -------
    int : the percentage of part out of whole
    """
    if 0 in [part, whole]:
        return float(0)
    return 100 * ((float(part) / float(whole)))