You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to add the number_format filter to Stacey (Twig 1.4)?
I am dynamically adding two (currency) values within a template, the display does not default to two decimals. For example, 1.40 displays as 1.4 without the trailing zero.
Or perhaps there is an easier way.
Thanks
The text was updated successfully, but these errors were encountered:
The
number_format
filter was added in Twig 1.5.Is there a way to add the
number_format
filter to Stacey (Twig 1.4)?I am dynamically adding two (currency) values within a template, the display does not default to two decimals. For example, 1.40 displays as 1.4 without the trailing zero.
Or perhaps there is an easier way.
Thanks
The text was updated successfully, but these errors were encountered: