Using this library to create a forex calculator. I would love if there was a way to combine two currencies into a single currency pair that can be used for calculations.
i.e. Currently to find an exchange rate, Base and Rate must be defined separately. Create a variable/method that can store both.
Using this library to create a forex calculator. I would love if there was a way to combine two currencies into a single currency pair that can be used for calculations.
i.e. Currently to find an exchange rate, Base and Rate must be defined separately. Create a variable/method that can store both.