fix decimal truncation when format is dec8 and the truncated number is less than 8 characters #7