---
title: "format currency · RUAL Documentation"
description: "Format an amount as a currency string with symbol and grouped thousands (e.g. $1,234.50)."
canonical: https://docs.rual.nl/block-types/finance/currency_format
language: en
---

# format currency

This block is part of the [`finance`](https://docs.rual.nl/block-types/finance) group and was last modified in core [`v15.0.0`](https://docs.rual.nl/core-versions/150000).

Format an amount as a currency string with symbol and grouped thousands (e.g. $1,234.50).

- flow `flow`

- amount required `number`

- currency required `value` Currency code (e.g. EUR).

- flow `flow`

- success `condition`

- result `value` The formatted string.

- last update `date` When ECB last published these rates.

- error `value`

| `money format` |
| --- |
| `format amount` |
| `currency string` |

A typical wiring for [format currency](https://docs.rual.nl/block-types/finance/currency_format): a [function trigger](https://docs.rual.nl/block-types/globals/trigger_custom_function) starts the flow; [number](https://docs.rual.nl/block-types/number/number_default) feeds the `amount` pin; [value](https://docs.rual.nl/block-types/value/value_default) feeds the `currency` pin; the `flow` out pin feeds [debug](https://docs.rual.nl/block-types/state%20ui/state_debug).

![Studio canvas example for the format currency block: typical wiring for format currency.](https://docs.rual.nl/canvas-examples/currency_format.png)

### Version history

Introduced in [`v15.0.0`](https://docs.rual.nl/core-versions/150000).
