<p>As Jeremy Daalder pointed out, Its the local system settings causing this. 
A workaround is available in the link he posted.</p>

CC BY-SA 4.0
2019-08-05T10:46:03.217Z
2019-08-05T10:46:03.217Z
Shaun Hall
<p>If I use the following format to show an item price:</p>

<pre><code>.defaultVariant.salePrice|currency('GBP')
</code></pre>

<p>or</p>

<pre><code>.defaultVariant.salePrice|commerceCurrency(cart.currency)
</code></pre>

<p>the website is returns as:</p>

<pre><code>9,99 £
</code></pre>

<p>Instead of what is expected:</p>

<blockquote>
  <p>£9.99</p>
</blockquote>

<p>Has anyone ever seen this before?
I am using Craft CMS 3.28 and Commerce Pro 2.1.10. </p>

CC BY-SA 4.0
2019-08-05T02:24:32.110Z
I think this is very likely to be a locale issue - see: https://craftcms.stackexchange.com/questions/22179/product-price-format-in-euro
Jeremy Daalder
CC BY-SA 4.0
2019-08-05T10:44:32.637Z
Yes, I think you are correct. I have setup the same dev environment on another PC and its showing correctly so something is up on that machine.
I cannot mark your response as an answer to give you the rep so mentioned you below. If you wanted to post it as an answer, I will edit. 
Thanks for your help!
Shaun Hall
CC BY-SA 4.0
2019-08-12T01:18:29.890Z
It converted my 'trivial response' to a comment.  I can live without the points :)
Jeremy Daalder
<craft3><plugin-craftcommerce2>
Craft Commerce product item price showing incorrect
# Craft Commerce product item price showing incorrect

(Asked by: username_0 on 2019-08-04)

If I use the following format to show an item price:
.defaultVariant.salePrice|currency('GBP')

or
.defaultVariant.salePrice|commerceCurrency(cart.currency)

the website is returns as:
9,99 £

Instead of what is expected:

£9.99

Has anyone ever seen this before?
I am using Craft CMS 3.28 and Commerce Pro 2.1.10.

**Tags:** craft3, plugin-craftcommerce2

> **Comments:**
> **username_1**: I think this is very likely to be a locale issue - see: https://craftcms.stackexchange.com/questions/22179/product-price-format-in-euro  
> **username_0**: Yes, I think you are correct. I have setup the same dev environment on another PC and its showing correctly so something is up on that machine. I cannot mark your response as an answer to give you the rep so mentioned you below. If you wanted to post it as an answer, I will edit.  Thanks for your help!  
> **username_1**: It converted my 'trivial response' to a comment.  I can live without the points :)  

---

## 1 answers

### Answer by username_0 on 2019-08-05. Score: 1

As username_1 pointed out, Its the local system settings causing this.
A workaround is available in the link he posted.


---

