Try below:

In A2: Max Int
in B2: Current Int

Formula in C2:

=MROUND(MIN(A2,B2+0.25),1/4)

Regards,