100 to 0 Countdown
Hello,
I’m been watching Jeff Clarke’s great YouTube tutorial, Countdown Timer Prototype, to create a countdown timer that starts at 100 and ends with 0.
Have everything working to a point. What I need assistance with is editing this formula to remove the extra zeros.
floor(seconds/100) + lpad(seconds - (floor(seconds/100) * 100), 2, "0")
I want it to end with only this, 0, instead of 000.
Thansk in advance,
Jason