CurrencyConversion.convert

You're seeing just the callback convert, go back to CurrencyConversion module for more information.
Link to this callback

convert(amount, to_currency)

View Source

Specs

convert(amount :: Money.t(), to_currency :: atom()) :: Money.t()

Convert from currency A to B.

Example

iex> convert(Money.new(7_00, :CHF), :USD)
%Money{amount: 7_03, currency: :USD}