duration>hours ( duration -- x )
Calendar ยป Using durations

Prev:duration>days ( duration -- x )
Next:duration>minutes ( duration -- x )


Vocabulary
calendar

Inputs
durationa duration


Outputs
xa number


Word description
Calculates the length of a duration in hours.

Examples
USING: calendar prettyprint ; 3/4 days duration>hours .
18


See also
duration>years, duration>months, duration>days, duration>minutes, duration>seconds, duration>milliseconds, duration>microseconds, duration>nanoseconds

Definition