I making a timer and I want to place a : between the digits to seperate minutes from second. If the global variable is 300 how could I make it appear as 5:00, 4:59, 4:58...?
If your global variable name is Timing (in seconds)
Use floor(Timing/60)&":"&zeropad(Timing%60, 2) to display it in a minute:seconds format
I did not test it out but it should work
Develop games in your browser. Powerful, performant & highly capable.
Wow! Thanks Aphrodite Works perfectly