# "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

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

# Restriction Specifications

•  Restricted["Number",{{choices1,…}}] one among choices Restricted["Number",max] a number below max Restricted["Number",{min,max}] a number between min and max Restricted["Number",{min,max,s}] a number between min and max, with step s Restricted["Number",Automatic,n] a number with n-digit precision

# Options

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

# Examples

## Basic Examples(3)

Interpret integers:

 In[1]:=
 Out[1]=

Interpret numbers in scientific notation:

 In[1]:=
 Out[1]=

Interpret real numbers, with a bound:

 In[1]:=
 Out[1]=

Use a different number point:

 In[1]:=
 Out[1]=

Restrict to odd numbers below 100:

 In[1]:=
 Out[1]=

Restrict to multiples of 3:

 In[1]:=
 Out[1]=

Set the precision:

 In[1]:=
 Out[1]=

Otherwise, \$MachinePrecision is implied:

 In[2]:=
 Out[2]=

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

 In[1]:=
 Out[1]=
 In[2]:=
 Out[2]=