Trim off trailing zeros in decimal numbers