# Currency Modifier Precision

**URL:** <https://forum.shopware.com/t/currency-modifier-precision/59547>\
**Category:** Themes & Design\
**Created:** [15. Mai 2019 um 09:12 UTC](https://forum.shopware.com/t/currency-modifier-precision/59547 "2019-05-15T09:12:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TeichDatensysteme](https://avatars.discourse-cdn.com/v4/letter/t/43a26b/32.png) [@TeichDatensysteme](https://forum.shopware.com/u/TeichDatensysteme)\
**Post date:** [15. Mai 2019 um 09:12 UTC](https://forum.shopware.com/t/currency-modifier-precision/59547/1 "2019-05-15T09:12:27Z")

</div>

Hallo!

Hat wer zufällig schon einmal die Precision (Nachkommastellen) im Smarty Currency Modifier einstellen können?  
In&nbsp;_modifier.currency.php_ werden ja prinzipiell die Optionen ausgegeben, in der&nbsp;_Zend\_Currency_ gibt es auch die Bereiche für die Precision.  
Mir ist aber leider schleierhaft, wie man das ansprechen könnte (über die Parameter in Smarty kommt leider nichts bei der precision an …)

Freue mich über Feedback!  
Niklas

---

<div class="post-metadata">

**Author:** ![vanwittlaer](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/vanwittlaer/32/8499_2.png) [@vanwittlaer](https://forum.shopware.com/u/vanwittlaer)\
**Post date:** [19. Mai 2019 um 08:24 UTC](https://forum.shopware.com/t/currency-modifier-precision/59547/2 "2019-05-19T08:24:52Z")

</div>

Meines Wissens&nbsp;geht das mit |currency nicht, da gehen nur die Standard-Voreinstellungen für die einzelnen Währungen. Probier’s mal mit |number\_format|3:’,’:’.’  
&nbsp;

Viel Erfolg,

Geert

---

<div class="post-metadata">

**Author:** ![h\_lohaus](https://avatars.discourse-cdn.com/v4/letter/h/a587f6/32.png) [@h\_lohaus](https://forum.shopware.com/u/h_lohaus)\
**Post date:** [19. Mai 2019 um 09:59 UTC](https://forum.shopware.com/t/currency-modifier-precision/59547/3 "2019-05-19T09:59:38Z")

</div>

&nbsp;|currency erwartet nur 2 Optionen: display und position. Damit geht es also nicht.

[https://github.com/shopware/shopware/blob/5.5/engine/Library/Enlight/Template/Plugins/modifier.currency.php#L36](https://github.com/shopware/shopware/blob/5.5/engine/Library/Enlight/Template/Plugins/modifier.currency.php#L36)
