converts a currency into its equivalent value in another currency