RealDigits::ndig

更多信息

  • This message is generated when RealDigits is used with one or two arguments and the arguments are either non-numeric or exact.
  • You can use IntegerDigits to get the digits of an integer.
  • Off[message] switches off the message; On[message] switches it on. For example: Off[RealDigits::ndig].

范例

基本范例  (1)

The arguments in RealDigits are exact numbers:

This shows a correct use of RealDigits: