Wolfram ResearchPRODUCTSPURCHASEFOR USERSCOMPANYOUR SITES
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

DigitCount

Usage

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,  ,  , 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.


Notes

DigitCount[n] is equivalent to DigitCount[n, 10, Mod[Range[10],10]].
• Integer mathematical function (see Section A.3.10).
• See Section 3.2.5.
• New in Version 4.


Any questions about topics on this page? Click here to get an individual response.Buy NowFree TrialMore Information



 © 2009 Wolfram Research, Inc.  Terms of Use  Privacy Policy |
Sign up for our newsletter: