Rounding Problems Converting Hours Minutes Seconds (H.MS) to Hours (H.HH)

Why are you using float to represent essentially integer values?