Answers for "twig format currency"

0

twig format currency

{# €12.34 #}
{{ '12.345'|format_currency('EUR', {rounding_mode: 'floor'}) }}

{# €1,000,000.0000 #}
{{ '1000000'|format_currency('EUR', {fraction_digit: 4}) }}
Posted by: Guest on October-13-2021

Browse Popular Code Answers by Language