# Wolfram Language & System 11.0 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.
WOLFRAM LANGUAGE INTERPRETER TYPE

# "ComputedPercent" (interpreter type)

A percentage derived by computation.

## Allowed FormsAllowed Forms

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

## Restriction SpecificationsRestriction 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

## ExamplesExamplesopen allclose all

### Basic Examples  (4)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]=