def rtnd(number, n):
    """
    Round number to a max of n digits after the decimal point
    :param number: Given number
    :param n: Requested number of digits after the decimal points
    :return: number with a max of n digits after the decimal point
    """
    return int(number * 10 ** n) / 10 ** n