The calculation
Choose a conversion direction. To get decimal hours, divide the minute portion by 60 and add the whole hours. Decimal-to-duration conversion rounds to the nearest second. Decimal notation is different from hours-and-minutes notation.
Seven hours 30 minutes equals 7.5 decimal hours because 30 divided by 60 is 0.5. By contrast, 7.30 decimal hours equals 7 hours 18 minutes, not 7 hours 30 minutes.