ExchangeRateHelper::calculateCrossRate Method [AX 2012]
Calculates a direct cross rate that is between the provided exchange rates.
Syntax
client server public static CurrencyExchangeRate calculateCrossRate(CurrencyExchangeRate _exchangeRate1, CurrencyExchangeRate _exchangeRate2)
Run On
Called
Parameters
- _exchangeRate1
Type: CurrencyExchangeRate Extended Data Type
The first exchange rate.
- _exchangeRate2
Type: CurrencyExchangeRate Extended Data Type
The second exchange rate.
Return Value
Type: CurrencyExchangeRate Extended Data Type
A direct cross rate that is between the provided exchange rates.