# CurrencyFormatter

The currency formatting component uses React International `<FormattedNumber />` under the hood. It has some defaults in place but these can be overridden.

For example, if you want 0 decimal places, you can do:

```jsx
<CurrencyFormatter value={2489500.92} currency="CAD" minimumFractionDigits={0} maximumFractionDigits={0} />
```

Please see the [React International docs](https://formatjs.io/guides/message-syntax/#number-type) for details.
