2013-02-04, 07:02 PM
You're also dividing total by an integer by an integer so you're getting an integer back that goes into a double so it gets rounded.
You'll want to divide by 8.0 or cast it with a (double).
You'll want to divide by 8.0 or cast it with a (double).

