This is really bugging me. I should not be having a problem doing this sort of thing. Hopefuly someone here will know what I’m doing wrong.

totalK=getBytesTotal();

I’ve got a loop set up wherein I

A) set oldTime equal to time

B) set oldLoadedK equal to loadedK

C) set time equal to getTimer(). Divided by 1000 to get seconds

D) set loadedK equal to getBytesLoaded();

E) set remainingK equal to totalK minus loadedK

now… I should be able to figure out estimated time remaining.

I’m thinking it’s

estimatedTimeRemaining=(loadedK-oldLoadedK)/(time-oldTime)*remainingK;

but for some reason this doesn’t seem to work. Can anyone tell me if it’s my math, or should I be looking for syntax errors?