"ComputedPercentFraction" (Interpreter Type)

A percentage fraction derived by computation.

Details

Allowed Forms

  • Any natural-language name of a percentage fraction 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 the number to a percentage:

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

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

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

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

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

Interpret quantities or numbers as fractions of the given baseline:

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

Related Interpreters

See Also

Interpreter  SemanticImport  Restricted  Failure