Use round rather than floor. Fixes #35.
Merge branch 'round'