"Percent" (Interpreter Type)

Percentage expressed in natural language.

Details

  • "Percent" can be used in Interpreter and related constructs, including deployed smart form fields.
  • Use of "Percent" requires connectivity to the Wolfram Cloud.

Allowed Forms

  • All the natural-language numbers allowed by "SemanticNumber" are supported for the quantity magnitude.
  • The unit can be expressed in natural language or via abbreviations or symbols.

Restriction Specifications

Interpretation

Examples

Basic Examples  (3)

Interpret percentages:

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

The percent sign can be omitted:

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

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

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

And "HeuristicPercent", 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 given range:

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

Related Interpreters

See Also

Interpreter  SemanticImport  Restricted  Failure  Quantity