"Number" (Interpreter Type)

Number in a standard format.

Details

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

Allowed Forms

  • 1234integers
    -1234negative integers
    12.34real numbers
    12.45e45numbers in scientific notation
    1.2E-5numbers in scientific notation
    1.2345`2numbers with a given Precision
    1.2345``4numbers with a given Accuracy
    12,456integers with separators
    12,345.67real numbers with separators

Restriction Specifications

Options

Interpretation

Examples

Basic Examples  (3)

Interpret integers:

Interpret numbers in scientific notation:

Interpret real numbers, with a bound:

Use a different number point:

Restrict to odd numbers below 100:

Restrict to multiples of 3:

Set the precision:

Otherwise, $MachinePrecision is implied:

When the number contains a Precision or Accuracy, and a precision restriction is also specified, the lower of the two will be applied:

Introduced in 2014
 (10.0)