convert currency

This block is part of the finance group and was last modified in core v15.0.0.

convert currency v15.0.0

Convert an amount between currencies using ECB daily reference rates.

In pins 3 + flow
  • flow
  • amount number required

    The amount to convert.

  • from value required

    Source currency code (e.g. USD).

  • to value required

    Target currency code (e.g. EUR).

Out pins 5 + flow
  • flow
  • success condition
  • result number

    The converted amount.

  • rate number

    The applied exchange rate (to per from).

  • last update date

    When ECB last published these rates.

  • error value
exchange
fx
convert money
currency conversion

A typical wiring for convert currency: a function trigger starts the flow; number feeds the amount pin; value feeds the from pin; value feeds the to pin; the flow out pin feeds debug.

Studio canvas example for the convert currency block: typical wiring for convert currency.

Version history

Introduced in v15.0.0.


Back to finance Return to the main group to view all sub-groups Back to currency Return to the group to view all blocks within this group