That does round to the nearest hour in that if A1 contains 3:22 it will return 3, if you just want to return the hours in time format 3:00 then you can use
=ROUND(A1*24,0)/24
or using MROUND function from Analysis ToolPak
=MROUND(A1,"01:00")
in both cases format as time