"ComputedPercent" (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]=
In[2]:=
Click for copyable input
Out[2]=

Interpret percentages derived by computation:

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

If no unit is provided, imply a percent:

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

Cf. "ComputedPercentFraction", which converts to a percentage:

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

And "ComputedHeuristicPercent", which decides what to do based on heuristics:

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

Restrict in a range:

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

Related Interpreters

See Also

Interpreter  SemanticImport  Restricted  Failure  Quantity