Try

=MAX(FLOOR(C3,0.25/24),CEILING(C3,0.25/24))*24

and format the result cell a "General"