HOURS2DAYS

Purpose:

Converts hours to days.

Syntax:

HOURS2DAYS(hours)

hours

-

A scalar or series, the hours values.

Returns:

A series or array of day values.

Example:

hours2days(3)

 

Returns 0.125, the number of days in three hours.

Example:

days2hours(hours2days(3))

 

Returns 3 hours showing HOURS2DAYS and DAYS2HOURS are inverse functions.

Example:

W1: 0..4.8..24

W2: hours2days(w1)

W3: days2hours(w2)

 

W1 contains the hours series {0, 4.8, 9.6, 14.4, 19.2, 24}.

W2 contains the day series {0, 0.2, 0.4, 0.6, 0.8, 1.0}.

W3 recovers the original hours series.

Remarks:

HOURS2DAYS converts an hour value or series to days.

 

See DAYS2HOURS to convert days to hours.

See Also:

DAYS2HOURS

HOURS2MINUTES

HOURS2SECONDS

HOURS2YEARS