DigitCount::base

Details

  • This message is generated when the second argument in DigitCount is not an integer or not greater than 1.
  • The second argument in DigitCount specifies the base to use in determining the digits of the first argument.
  • Off[message] switches off the message; On[message] switches it on. For example: Off[DigitCount::base].

Examples

Basic Examples  (1)

The second argument in DigitCount is less than 1:

Count the number of times that the digit 0 occurs in the base 10 representation of the number in the first argument: