Returns a currency representation of a number.
The currency filter is a Twig filter equivalent of the
format_currency() function. Applies currency formatting to a number.
The following example outputs a product price:
{{ product.price()|currency }}
The second optional argument allows to specify the number of decimal digits to return. The next example displays a product price
with a single decimal digit:
{{ product.price()|currency(1) }}