Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Doesn't work with time value #23

Open
jotakar opened this issue Dec 21, 2021 · 0 comments
Open

Doesn't work with time value #23

jotakar opened this issue Dec 21, 2021 · 0 comments
Labels

Comments

@jotakar
Copy link

jotakar commented Dec 21, 2021

This code doesn't count time. After converting time to total seconds, the code calculates miliseconds (var m) but it doesn't store the result in num and counter.beginAt / num * divisions is not valid because num is a string (hh:mm:ss) and result is NaN.
It's necesary add num = m or use num instead of m inside the loop, coded before // Generate list of incremental numbers to display

@jotakar jotakar changed the title Doenot work with time value Doesn't work with time value Dec 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants