# "SemanticReal"(Interpreter Type)

Natural-language name of a real number.

# Allowed Forms

•  1234, -1234, etc. integers 12.34 real numbers 12.45e45, 1.2E-5, 1.2*^-5 numbers in scientific notation 12,345.67 numbers with separators 1.2`10, 3.4``20 numbers with a given Precision or Accuracy two, a fifth numbers in natural language 3/5, -1/2 rational numbers

# Restriction Specifications

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

# Examples

## Basic Examples(3)

Interpret real numbers:

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

Interpret real numbers in natural language:

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

Restrict in a range:

 In[1]:=
 Out[1]=

Restrict to multiples of 1/2 between 1 and 4:

 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]=