[FIX] Return floats for some statistics

Fixes #1540
Merge branch 'next' of github.com:MPOS/php-mpos into next