Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Number Digits >

DigitCount

DigitCount[n, b, d]
gives the number of d digits in the base b representation of n.
DigitCount[n, b]
gives a list of the numbers of 1, 2, ..., b-1, 0 digits in the base b representation of n.
DigitCount[n]
gives a list of the numbers of 1, 2, ..., 9, 0 digits in the base 10 representation of n.
  • Integer mathematical function, suitable for both symbolic and numerical manipulation.
New in 4
© 2013 Wolfram Research, Inc. Japanese
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team