def getChange(current, previous):
    """Get the Percentage Change.

    Parameters:
    current (int): Current value
    previous (int): Previous value

    Returns:
    int: Percentage Change

    """

    if current == previous:
        return 0
    try:
        return ((current - previous) / previous) * 100.0
    except ZeroDivisionError:
        return float('inf')