avg turns out to always be double result
Merge pull request #1661 from marcel-blonk/PLFM-3157

avg turns out to always be double result