Craft Commerce product item price showing incorrect 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.
As Jeremy Daalder pointed out, Its the local system settings causing this. 
A workaround is available in the link he posted.