|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
UnitExchangeRate
UnitExchangeRate[currency->rate]
sets the user-specified exchange rate of
.
UnitExchangeRate[currency]
retrieves the user-specified exchange rate of
.
DetailsDetails
- currency exchange rates must be specified in terms of
. - UnitExchangeRate[All] returns a full list of user-specified exchange rates.
- Any new exchange rate specifications will overwrite previous rates for currency.
- Setting rate to Automatic will remove any previously set rates for currency.
- UnitExchangeRate is Listable.
ExamplesExamplesopen allclose all
Basic Examples (3)Basic Examples (3)
UnitConvert automatically retrieves the latest exchange rate information for currency conversion:
| In[1]:= |
| Out[1]= |
UnitExchangeRate can be used to set a specific exchange rate between
and
instead:
| In[2]:= |
| Out[2]= |
| In[3]:= |
| Out[3]= |
UnitExchangeRate[currency] can be used to retrieve the specified exchange rate:
| In[1]:= |
| Out[1]= |
Setting the rate to Automatic will remove any previous rate specifications for currency:
| In[1]:= |
| In[2]:= |
| Out[2]= |
New in 9.0
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
