def round_progress(x, base=5):
    """Rounds the number to closes multiple of base.

    :param x: float
    :param base: int, to which multiple the method rounds the number
    :return: int, rounded number
    """

    return base * round(x / base)