ToHours(Duration duration)
Takes a duration and returns the number of hours contained in it.
Parameters
- duration
- The duration value to convert to hours.
Returns
Numeric
Examples
ToHours([Duration Column])
takes the duration value "2.5 hrs" stored in the duration column and returns the numeric value 2.5