Sum collection by float as this is missing in the stdlib even after version 1.4.0.
Not naming it sumOf in order to have easier imports.