# "ComputedPercent"(Interpreter Type)

A percentage derived by computation.

# Allowed Forms

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

# Restriction Specifications

•  Restricted["ComputedPercent",{{choices1,…}}] one among choices Restricted["ComputedPercent",unit] convert to unit Restricted["ComputedPercent",unit,max] a percentage below Quantity[max,unit] Restricted["ComputedPercent",unit,{min,max}] a percentage between Quantity[min,unit] and Quantity[max,unit] Restricted["ComputedPercent",unit,{min,max,s}] a percentage between Quantity[min,unit] and Quantity[max,unit] with step s

# Examples

## Basic Examples(4)

Interpret percentages:

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

Interpret percentages derived by computation:

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

If no unit is provided, imply a percent:

 In[1]:=
 Out[1]=

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

 In[2]:=
 Out[2]=

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

 In[3]:=
 Out[3]=
 In[4]:=
 Out[4]=

Restrict in a range:

 In[1]:=
 Out[1]=