How it works
Multiply the hour and minute parts by 3,600 and 60, then add the seconds. Divide by the number of seconds in the output unit.
Worked example
Use Duration as HH:MM:SS 02:45:45 · Output unit Hours. The result is 2.7625 hours.
Convert a duration in hours, minutes, and seconds to decimal hours, minutes, or seconds.
Multiply the hour and minute parts by 3,600 and 60, then add the seconds. Divide by the number of seconds in the output unit.
Use Duration as HH:MM:SS 02:45:45 · Output unit Hours. The result is 2.7625 hours.