Basically let's say I have a number, N. I want to do a function DecimalsToMinutes, that converts N to Minutes and Seconds(MS). For example if N is 192, it turns it into "3:12".
This is how I'm thinking it would look:
function DecimalsToMinutes(n)
local ms = --do math with n
return ms
end
The problem is that I don't know how to do it, so do you?

3 comments
Extra Info here: The Modulo Operand gets the remainder of the division. Example: 512 / 60 = 8.53, 512 % 60 = 32
wow! thanks!
It converts 9 seconds to 0:9 seconds though, but it works! Thanks!