"Age" (Interpreter Type)

Age expressed in natural language.

Details

  • "Age" can be used in Interpreter and related constructs, including deployed smart form fields.
  • Use of "Age" requires connectivity to the Wolfram Cloud.

Allowed Forms

  • All the natural-language numbers allowed by "SemanticNumber" are supported for the quantity magnitude.
  • The unit can be expressed in natural language, or via abbreviations or symbols.

Restriction Specifications

Interpretation

Examples

Basic Examples  (3)

Interpret ages:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Restrict and convert to a unit:

In[1]:=
Click for copyable input
Out[1]=

If no unit is provided in the input string, imply years:

In[1]:=
Click for copyable input
Out[1]=

Related Interpreters

See Also

Interpreter  SemanticImport  Restricted  Failure  Quantity