Break apart a number into its digits.