Here's a much simpler formula
if {ParkingDuration} <= 360 then Concatenate(Truncate( {ParkingDuration} / 60 + 1, 0), " Hour(s)") else if {ParkingDuration} <= 1440 then "7-24 Hours" else "> 24 Hrs."
I hope one of these two options correctly answers your question.