def custom_rounder(input_number, p):
    """
    Return round of the input number respected to the digit.

    :param input_number: number that should be round
    :type input_number: float
    :param p: 10 powered by number of digits that wanted to be rounded to
    :type p: int
    :return: rounded number in float
    """
    return int(input_number * p + 0.5) / p