Exchange currencies
You can easily exchange currencies and set an exchange rate as well
Main
Exchanges given Amount from a currency to another (Converted Amount is calculated automatically)
From_Currency is the saveID of the currency that you will deduct the balance from
To_Currency is the saveID of the currency that you want to exchange the amount to
CurrencyManager.instance.ExchangeCurrency(string From_Currency, string To_Currency, float Amount);
Override exchange rate
If you choose to set the ConvertedAmount you will override the calculated exchange rate
CurrencyManager.instance.ExchangeCurrency(string From_Currency, string To_Currency, float Amount, float ConvertedAmount);
Last modified: 03 November 2023