Hi all. I'm trying to make an expression you apply to a text layer to time sports videos accurately. So far, I have the minutes and seconds figured out, but can't seem to get the milliseconds to work. They keep adding extra values past 100 which is what i dont want. Whenever it reaches 100 it should start over.
milli = Math.floor(time*100);
sek = Math.floor(time%60);
min = Math.floor(time/60);
if(sek<10)
{
"0" + min +":0" + sek + ":" + milli;
}
else
{
"0" + min +":" + sek + ":" + milli;
}