"CurrencyAmount" (Interpreter Type)

Amount of money expressed in natural language.

Details

Allowed Forms

  • All the natural-language numbers allowed by "SemanticNumber" are supported for the quantity magnitude.
  • All the natural-language units allowed by "CurrencyName" are supported for the quantity unit.

Restriction Specifications

Interpretation

Examples

Basic Examples  (4)

Interpret currency amounts:

Restrict and convert to a unit:

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

Set the precision: