ConvertBaseToFX(BaseAmount: Number, ExchangeRate: Number, CurrencyCode: String): Number
Passed a Base Amount an Exchange Rate and a Currency Code, returns an FX Amount. Exchange Rate must be non zero.
ConvertBaseToFX function syntax has these named arguments:
Parameter |
Description |
|---|---|
Base Amount |
Required. Base amount to be converted. |
Exchange Rate |
Required. Exchange rate used to convert the Base amount. |
Currency Code |
Required. Currency code to return the converted amount in. |