Wolfram Language & System 11.0 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

"Age" (interpreter type)

Age expressed in natural language.

DetailsDetails

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

Allowed FormsAllowed 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 SpecificationsRestriction Specifications

ExamplesExamplesopen allclose all

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