rounding numbers for legend and other legend cleanup