Duration.TotalHours

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

返回所提供的 durationduration 跨越的总小时数。

示例:

计算 #duration(5, 4, 3, 2) 中跨越的总小时数。

使用情况:

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

输出:

124.05055555555555

results matching ""

    No results matching ""