def round_float(number, decimals):
    """
    Rounds decimal number to exact number of decimals.
    :param number: (float) Float number.
    :param decimals: (int) Number of numbers after decimal point
    :return:
    """
    number = float(number)
    out = round(number, decimals)
    return out