-
Countdown timer with a non-monospace font
I’m currently using a monospace font for the timer I’m creating, but I was asked to change the font to something else. The font requested happens to be a non-monospace font, so now the numbers are moving around. I’m new with expressions, so I’m not sure how to keep the numbers from moving as they count down. Below is the expression I’m working with.
countdown = 60-Math.floor(time); if (countdown < 10) {"0" + countdown} else countdown