@jacobhumston/tc.js / roundConvert
roundConvert(
time,precision):Record<"microseconds"|"milliseconds"|"seconds"|"minutes"|"hours"|"days"|"weeks"|"months"|"years"|"decades"|"centuries",number>
Defined in: convert.ts:34
Rounds the converted time values to the specified precision.
The time to convert and round.
number = 2
The precision to round the values to.
Record<"microseconds" | "milliseconds" | "seconds" | "minutes" | "hours" | "days" | "weeks" | "months" | "years" | "decades" | "centuries", number>
The rounded converted time values.