GetByID
array CCurrencyRates::GetByID( int ID );
This method returns the exchange rate parameters. Static parameters.
Parameters
Parameter | Description |
---|---|
ID | The currency rate ID whose parameters are to be returned. |
Return Values
Associative array with the following keys.
Key | Description |
---|---|
ID | The currency rate ID. |
CURRENCY | The currency ID. |
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.) |
© «Bitrix24», 2001-2024