powered by
Rounds a hms_timer() after updating it to the elapsed time.
hms_timer()
tmr_round(x, digits = 0)
A hms_timer().
A count of the number of decimal places.
Negative values of digit are permitted.
Other round: tmr_ceiling(), tmr_floor(), tmr_format()
tmr_ceiling()
tmr_floor()
tmr_format()
tmr_round(tmr_timer(18.9)) tmr_round(tmr_timer(18.9), 1) tmr_round(tmr_timer(18.9), -1) tmr_round(tmr_timer(121), -2) # 121 is rounded to 100 seconds
Run the code above in your browser using DataLab