"CurrencyAmount" (Interpreter Type)
Amount of money expressed in natural language.
Details
- "CurrencyAmount" can be used in Interpreter and related constructs, including deployed smart form fields.
- Use of "CurrencyAmount" requires connectivity to the Wolfram Cloud.
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
-
Restricted["CurrencyAmount",{{choices1,…}}] one among choices Restricted["CurrencyAmount",unit] convert to unit Restricted["CurrencyAmount",unit,max] an amount of money below Quantity[max,unit] Restricted["CurrencyAmount",unit,{min,max}] an amount of money between Quantity[min,unit] and Quantity[max,unit] Restricted["CurrencyAmount",unit,{min,max,s}] an amount of money between Quantity[min,unit] and Quantity[max,unit] with step s Restricted["CurrencyAmount",Automatic,Automatic,n] an amount of money whose magnitude has n-digit precision - The bounds min and max and step s can also be expressed as quantities.
Interpretation
- "CurrencyAmount" yields a Quantity.