You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This isn't an issue per-se, but not sure where else to ask the question (sorry). Just wondering why multiplication by 4 and then division by 10 in _done for a progress bar size of 40 in _left?
Can you explain how that part works? Just wanting to understand the maths/what's going on there.
let _done=(${_progress}*4)/10
let _left=40-$_done
Thanks!
The text was updated successfully, but these errors were encountered:
nooblag
changed the title
Why division by 4 in _done for a progress bar size of 40 in _left?
Why multiplication by 4 and division by 10 in _done for a progress bar size of 40 in _left?
Jun 15, 2024
Hi there,
Thanks for a great little package.
This isn't an issue per-se, but not sure where else to ask the question (sorry). Just wondering why multiplication by
4
and then division by10
in_done
for a progress bar size of40
in_left
?Can you explain how that part works? Just wanting to understand the maths/what's going on there.
Thanks!
The text was updated successfully, but these errors were encountered: