Expressing Control Variable Results as an Integer

Hi folks, I'm currently working on a "Statistics" style screen that, among other things, shows gameplay time in Hours, Minutes, Seconds. I am doing this by using the Control Variables command to divide up Play Time into the necessary units. The problem is, when I'm printing said units in the text box, they're not expressing as Integers, and obviously I want it to say, for example 02h:30m:00s not 2.5h:30m:00s

Here's my event:
timer problem 2.png



And here's what it's returning like:

timer problem.png


I'm sure I need to add something before I convert it into a string to first turn the variable into an Integer, but I'm not sure how I can make RMMV do that, should I just be doing all the math in JS?
Try $gameVariables.value(94).padZero(2) instead.
Nevermind, I figured it out using Math.trunc. But thanks for looking!

Mods, feel free to close.
This thread is being closed due to being solved. If you need it reopened later, report it to let us know why. Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/expressing-control-variable-results-as-an-integer.159556/