"ComputedReal" (Interpreter Type)
A real number derived by computation.
Details
- "ComputedReal" can be used in Interpreter and related constructs, including deployed smart form fields.
- Use of "ComputedReal" requires connectivity to the Wolfram Cloud.
Allowed Forms
- Any natural-language real number supported by "SemanticReal", or a computation yielding one.
Restriction Specifications
-
Restricted["ComputedReal",{{choices1,…}}] one among choices Restricted["ComputedReal",max] a real below max Restricted["ComputedReal",{min,max}] a real between min and max Restricted["ComputedReal",{min,max,s}] a real between min and max, with step s
Interpretation
- "ComputedReal" yields a Real.
Examples
Basic Examples (4)
Interpreter["ComputedReal"]["4.3456E12"]Interpreter["ComputedReal"]["a fourth"]Interpret real numbers derived by computation:
Interpreter["ComputedReal"]["two + one third"]Interpreter["ComputedReal"]["pi/2"]Computations with data are allowed:
Interpreter["ComputedReal"]["Moon / Earth radius"]Interpreter[Restricted["ComputedReal", {-Pi, Pi}]]["square root of 8"]Related Guides
History
Introduced in 2015 (10.1)