Wolfram Language & System 10.3 (2015)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)


gives a list of the decimal digits in the integer n.

gives a list of the base b digits in the integer n.

pads the list on the left with zeros to give a list of length len.

uses the mixed radix with list of bases blist.


  • IntegerDigits gives the most significant digit first, as in standard positional notation.
  • IntegerDigits[n] discards the sign of n.
  • If len is less than the number of digits in n, then the len least significant digits are returned.
  • IntegerDigits[0] gives .
  • FromDigits can be used as the inverse of IntegerDigits.
Introduced in 1991
| Updated in 2003