I have a simple timer setup
this.timeperlevel = 61;
this.timeperlevel -= dt;
I am showing the number in a ui text element, but the problem is that it shows a floating number, I need to convert it to integers like with Math.Round(), which is not included in the PlayCanvas API.
As the main project is private i have made a simple project containing just the timer: https://playcanvas.com/project/612739/overview/timer-test