def calc_percent(percent, whole):
    """Utility method for getting percentage of whole

    Parameters
    ----------
    percent: int, float
    whole: int, float

    Returns
    -------
    int : the percentage of whole
    """
    return int((float(percent * whole) / 100.0))