Basically my ConvertTime only returns with the hour but no minutes or seconds in my proggy.
I've got h, m, s vars set in the procedure.PHP Code:ConvertTime(((XPToNext / XPPerHour) * 3600000), h, m, s);
Writeln(IntToStr(h) + 'h:' + IntToStr(m) + 'm:' + IntToStr(s));
Output is something like this:
I can't find how the ConvertTime procedure works exactly so I'm a little lost here.PHP Code:3h:0m:0
Edit:
Ok so I printed the value in my proggy for debugging and it returns 10800000 and not 11303192 (rounded) as it should...


Reply With Quote


