RunningAverage Class on playground (updated)

There are tricks you can use to improve accuracy when adding up a lot of floats.
For example, you can use a long to hold the "whole" part of the sum, and a float to hold the fractional part.