GetConvertFactorEx
float CCurrencyRates::GetConvertFactorEx( string curFrom, string curTo, string valDate = "" );
This method returns the factor for converting amounts from curFrom currency to curTo currency at the exchange rate set on the date valDate. Static parameter.
Call parameters
Parameter | Description |
---|---|
curFrom | Source currency. |
curTo | Destination currency. |
valDate | The date of the exchange rate at which the conversion is to be performed. If the date is empty, the conversion is performed at the current rate. Optional parameter. Data shall be specified in the YYYY-MM-DD format. |
Returned values
Conversion factor is returned.
© «Bitrix24», 2001-2024