Skip to contents

Rounds a hms_timer() down to the nearest second.

Usage

tmr_floor(x)

Arguments

x

A hms_timer().

Value

A hms_timer().

See also

Other round: tmr_ceiling(), tmr_format(), tmr_round()

Examples

tmr_floor(tmr_timer(18.9))
#> 00:00:18
tmr_floor(tmr_timer(122.1))
#> 00:02:02