Add a rounder function to avoid duplication