Add a rounder function to avoid duplication
Merge pull request #1 from albemuth/master

Add a rounder function to avoid duplication