Duration.TotalHours(duration as nullable duration) as nullable number
返回所提供的 duration 值 duration 跨越的总小时数。
duration
计算 #duration(5, 4, 3, 2) 中跨越的总小时数。
Duration.TotalHours(#duration(5, 4, 3, 2))
124.05055555555555