convert_currency function

convert_currency converts an amount from one currency to another. It accepts an amount, a destination currency code, and a conversion date.

Syntax

convert_currency(amount, destination_currency_code, date)

Arguments

Examples

  • convert_currency(deal.amount, "EUR", date("2018-07-11")) => €88.63

Did this help answer your question?

thumbs up
thumbs down

Thanks for the feedback! 🙏🏽