optimize output of decimal digits