"Integer" (Interpreter Type)

Integer number in a standard format.

Details

  • "Integer" can be used in Interpreter and related constructs, including deployed smart form fields.
  • Use of "Integer" does not require connectivity to the Wolfram Cloud.

Allowed Forms

  • 1234positive integers
    -1234negative integers
    12,456integers with separators

Restriction Specifications

Options

  • The following options can be used:
  • DigitBlockInfinitynumber of digits between breaks
    NumberSeparator{","," "}string to insert at breaks between blocks
    NumberSigns{"-",""}strings to use for signs of negative and positive numbers

Interpretation

Examples

Basic Examples  (2)

Interpret integer numbers:

Restrict in a range:

Restrict to multiples of 3:

Restrict to the first 10 Fibonacci numbers:

Use a custom number separator:

Use a custom pair of number signs: