"ComputedPercent" (Interpreter Type)
A percentage derived by computation.
Details
- "ComputedPercent" can be used in Interpreter and related constructs, including deployed smart form fields.
- Use of "ComputedPercent" requires connectivity to the Wolfram Cloud.
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
Interpretation
- "ComputedPercent" yields a Quantity.
Examples
Basic Examples (4)
Interpret percentages derived by computation:
If no unit is provided, imply a percent:
Cf. "ComputedPercentFraction", which converts to a percentage:
And "ComputedHeuristicPercent", which decides what to do based on heuristics: