Skip to main content

asHours

Converts a duration from seconds to hours.

Parameters

  • DURATION (number)

    The number of seconds to convert.

Examples

ATL in Script

Result

[[asHours(7200)]]

2

[[asHours(10000)]]

2.78

To reduce the result to its integer part, use truncate.

ATL in Script

Result

[[asHours(10000)]]

2.78

[[truncate(asHours(10000))]]

2