"ComputedHeuristicPercent" (Interpreter Type)

A percentage derived by computation.

Details

Allowed Forms

  • A percentage expressed in natural language, or a computation yielding one.

Restriction Specifications

Interpretation

Examples

Basic Examples  (4)

Interpret percentages:

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

Interpret percentages derived by computation:

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

If no unit is provided, convert to a percent when it seems reasonable:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=
In[4]:=
Click for copyable input
Out[4]=

In other cases, simply infer a percent unit:

In[5]:=
Click for copyable input
Out[5]=
In[6]:=
Click for copyable input
Out[6]=

Cf. "ComputedPercent", which always infers a percent unit:

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

And "ComputedPercentFraction", which always converts to a percentage:

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

Restrict in a range:

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

Related Interpreters

See Also

Interpreter  SemanticImport  Restricted  Failure