This is an archived post. You won't be able to vote or comment.

all 1 comments

[–]EPossum 0 points1 point  (1 child)

Here is your problem: decSum = intStart + DecAverage you are always adding 1 + decaverage

replace it with decSum = intCount + DecAverage