import random


def intRndPct(n, pct=20):
    """
    Randomize an integer

    Parameters
    ----------
    n : int
    pct : int, optional
        Randomization factor in %. The default is 20.

    Returns
    -------
    int
        Randomized integer

    """
    return int(n * (100.0 + random.uniform(-pct, pct)) / 100.0)