# Artikelpreis Nachkomma und Währung hochstellen

**URL:** <https://forum.shopware.com/t/artikelpreis-nachkomma-und-wahrung-hochstellen/72306>\
**Category:** Programmierung\
**Created:** [24. Januar 2021 um 19:23 UTC](https://forum.shopware.com/t/artikelpreis-nachkomma-und-wahrung-hochstellen/72306 "2021-01-24T19:23:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tfol](https://avatars.discourse-cdn.com/v4/letter/t/3ec8ea/32.png) [@tfol](https://forum.shopware.com/u/tfol)\
**Post date:** [24. Januar 2021 um 19:23 UTC](https://forum.shopware.com/t/artikelpreis-nachkomma-und-wahrung-hochstellen/72306/1 "2021-01-24T19:23:09Z")

</div>

Moin,

ich möchte gerne die Nachkommastellen und die Währung hochstellen. Für Shopware 5 habe ich im Forum diese Lösung gefunden:

```
{assign var="preis" value=","|explode:{$sArticle.price|currency}}
{$preis[0]},{$preis[1]}

```

Jetzt suche ich das für Shopware 6

In der price-unit.html.twig sind ja diese Preise drin

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; listPrice.price|currency  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fromPrice.unitPrice|currency

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; listingPrice.to.unitPrice|currency

Kann mir bitte jemand helfen? Alle Versuche das in einer Twig zu ändern scheitern bisher…

Danke

TFOL  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;
