jms_gears1
Premium Member
I am programming a cube timer in c#.net and was wondering how you average times.
so as the timer ticks i format the time span into a string and then that string to a label:
imeSpan ts = stopWatch.Elapsed;
lblTime.Text = string.Format("{0:00}:{1:00}.{2:00}", ts.Minutes, ts.Seconds, ts.Milliseconds / 10);
after that i write it to a file and then its uploaded from that file and put on one of the seven labels that i have for times.
what i want to do is take the info from the labels and avg them however i dont know how to do that..
any suggestions would be fine and as i know i have not been very clear ask me any questions that you would find helpful thanks in advance
so as the timer ticks i format the time span into a string and then that string to a label:
imeSpan ts = stopWatch.Elapsed;
lblTime.Text = string.Format("{0:00}:{1:00}.{2:00}", ts.Minutes, ts.Seconds, ts.Milliseconds / 10);
after that i write it to a file and then its uploaded from that file and put on one of the seven labels that i have for times.
what i want to do is take the info from the labels and avg them however i dont know how to do that..
any suggestions would be fine and as i know i have not been very clear ask me any questions that you would find helpful thanks in advance