hey thank you for your help but i figured out a solution.

I just added a var TMin to that dose nothing but hold the out out put of the minutes times minSec which gives me the amount of minutes in seconds then i just minus that from transTime which gives me the remaining seconds.


transTime = packetAmmount / transSpeed;
minutes = transTime / minSec;
TMin = minutes * minSec;
seconds = transTime - TMin;

thank you for your help.