asHours
Converts a duration from seconds to hours.
Parameters
DURATION (number)
The number of seconds to convert.
Examples
ATL in Script | Result |
---|---|
| 2 |
| 2.78 |
To reduce the result to its integer part, use truncate.
ATL in Script | Result |
---|---|
| 2.78 |
| 2 |
Converts a duration from seconds to hours.
DURATION (number)
The number of seconds to convert.
ATL in Script | Result |
---|---|
| 2 |
| 2.78 |
To reduce the result to its integer part, use truncate.
ATL in Script | Result |
---|---|
| 2.78 |
| 2 |