Duration.TotalHours

Syntax

Duration.TotalHours(duration as nullable duration) as nullable number

About

Returns the total hours spanned by duration.

Example 1

Find the total hours spanned by a duration value.

Usage

Duration.TotalHours(#duration(5, 4, 3, 2))

Output

124.05055555555555