Never use digital zoom.

Digital zoom just selects a portion of the image that your lens is capable of getting. If you want to crop, then do so in the computer rather than digital zooming. The quality deteriorates a lot.