Print digits of a number.