0 Comments
mins = 135;
alert("There are "+(Math.floor(mins/60))+" hour(s) and "+(mins%60)+" min(s).");
That's how I would do it. I hope this helps!