OpenersNotesSection(Spacer1)Details

OpenersPrimaryExamplesSection(Spacer1)Examples  (4)

OpenersExampleSection0(Spacer1)Basic Examples  (4)

Interpret numbers:

Interpreter["ComputedNumber"]["4.3456E12"]

Interpreter["ComputedNumber"]["a fourth"]

Interpret numbers derived by computation:

Interpreter["ComputedNumber"]["two plus six"]

Interpreter["ComputedNumber"]["e^-2"]

Interpreter["ComputedNumber"]["2+7-cos(pi/8)"]

Computations with data are allowed:

Interpreter["ComputedNumber"]["atomic number of uranium"]

Interpreter["ComputedNumber"]["number of academy awards won by Avatar"]

Restrict with an upper bound:

Interpreter[Restricted["ComputedNumber",15]]["10th prime number"]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[Interpreter, paclet:ref/Interpreter])  ▪  (RefLink[SemanticImport, paclet:ref/SemanticImport])  ▪  (RefLink[Restricted, paclet:ref/Restricted])  ▪  (RefLink[Failure, paclet:ref/Failure])  ▪  (RefLink[Integer, paclet:ref/Integer])  ▪  (RefLink[Rational, paclet:ref/Rational])  ▪  (RefLink[Real, paclet:ref/Real])}, {Related Interpreter Types:  (RefLink[Number, paclet:ref/interpreter/Number])  ▪  (RefLink[SemanticNumber, paclet:ref/interpreter/SemanticNumber])  ▪  (RefLink[Integer, paclet:ref/interpreter/Integer])  ▪  (RefLink[Digit, paclet:ref/interpreter/Digit])  ▪  (RefLink[Real, paclet:ref/interpreter/Real])  ▪  (RefLink[OrdinalNumber, paclet:ref/interpreter/OrdinalNumber])  ▪  (RefLink[ComplexNumber, paclet:ref/interpreter/ComplexNumber])  ▪  (RefLink[HexInteger, paclet:ref/interpreter/HexInteger])  ▪  (RefLink[RomanNumeral, paclet:ref/interpreter/RomanNumeral])  ▪  (RefLink[SemanticInteger, paclet:ref/interpreter/SemanticInteger])  ▪  (RefLink[ComputedInteger, paclet:ref/interpreter/ComputedInteger])  ▪  (RefLink[SemanticReal, paclet:ref/interpreter/SemanticReal])  ▪  (RefLink[ComputedReal, paclet:ref/interpreter/ComputedReal])  ▪  (RefLink[SemanticComplexNumber, paclet:ref/interpreter/SemanticComplexNumber])  ▪  (RefLink[ComputedComplexNumber, paclet:ref/interpreter/ComputedComplexNumber])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Setting Up Input Interpreters, paclet:guide/InterpretingStrings])}})}})