PHP Code:
new integer = 126856;
new Float:decimal = float( integer ) / 1000.0; // convert it to seconds for the following calculations
new minutes = floatround( decimal / 60, floatround_floor );
new seconds = floatround( decimal - 60 * minutes, floatround_floor );
new milisec = floatround( ( decimal - ( minutes * 60 + seconds ) ) * 1000.0, floatround_floor );
//log_amx( "%i %02i:%02i:%03i", integer, minutes, seconds, milisec );
__________________