"Digit" (Interpreter Type)

Digit in a standard format.

Details

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

Allowed Forms

  • A single digit.

Restriction Specifications

Interpretation

Examples

Basic Examples  (4)

Interpret digits:

In[1]:=
Click for copyable input
Out[1]=

Restrict to digits below 5:

In[1]:=
Click for copyable input
Out[1]=

Restrict to even digits:

In[1]:=
Click for copyable input
Out[1]=

Interpret sequences of 3 digits:

In[1]:=
Click for copyable input
Out[1]=

Related Interpreters

See Also

Interpreter  Restricted  Failure