HOURS

Returns an integer constant indicating the number of hours in the provided duration

HOURS (duration)

Can be used in the condition of a FIND action.

Attribute of the Duration type or duration constant or calculation producing duration

Number: the number of hours in the duration.

IF HOURS (Task.Duration) =  5 THEN ...