array
CCurrencyRates::GetByID(
int ID
);
The method GetByID returns the exchange rate parameters.
Parameters
Parameter | Description |
ID |
The ID of the currency rate whose parameters are to be returned. |
Return Values
Associated array with the following keys.
Key |
Description |
ID |
The rate ID. |
CURRENCY |
The currency identifier. |
DATE_RATE |
The date for which the rate is set. |
RATE_CNT |
Number of currency units used to define the rate of
exchange (for example, if CYP 10 equal to USD 21.58, 10 is the
number of currency units). |
RATE |
The default rate of exchange. (One of currencies within a
site must equal to 1. Such currency is called a base currency.
Other currencies are defined relative to the base currency.) |