<p>The thousands/decimals signs are based on the current users locale and can not be configure at the moment. The number is formatted based on the currency and locale. You would need to make your own currency formatter as a twig extension.</p>

<p>You could set <code>format=false</code> in the craftCommerce filter, then pass the value to your own number formatter filter.</p>

CC BY-SA 3.0
2017-01-31T09:44:17.240Z
Thanks! Do you think this feature will be added in the future?
Floriskoch
CC BY-SA 3.0
2017-01-30T15:11:08.990Z
2017-01-30T15:11:08.990Z
Luke Holder
<p>In the webshop we're building we're outputting the price like so:</p>

<pre><code>{{ cart.itemSubtotal|commerceCurrency(cart.paymentCurrency, convert=true) }}
</code></pre>

<p>which displays for example:</p>

<pre><code>€1,680.00
</code></pre>

<p>We will be using multiple currencies in the webshop. Is it possible to set the thousands/decimals signs? Or does the CMS take these settings from the locale? We can't find the settings for this anywhere.</p>

<p>Thanks in advance!</p>

<plugin-craftcommerce>
Price formatting thousands/decimal signs
# Price formatting thousands/decimal signs

(Asked by: username_0 on 2017-01-30)

In the webshop we're building we're outputting the price like so:
{{ cart.itemSubtotal|commerceCurrency(cart.paymentCurrency, convert=true) }}

which displays for example:
€1,680.00

We will be using multiple currencies in the webshop. Is it possible to set the thousands/decimals signs? Or does the CMS take these settings from the locale? We can't find the settings for this anywhere.
Thanks in advance!

**Tags:** plugin-craftcommerce


---

## 1 answers

### Answer by username_1 on 2017-01-30. Score: 3 | Accepted answer

The thousands/decimals signs are based on the current users locale and can not be configure at the moment. The number is formatted based on the currency and locale. You would need to make your own currency formatter as a twig extension.

You could set `format=false` in the craftCommerce filter, then pass the value to your own number formatter filter.

> **Comments:**
> **username_0**: Thanks! Do you think this feature will be added in the future?  

---

