Add a rounder function to avoid duplication

Ever since Javascript Allongé I can't stop applying this pattern to everything.