Currency & Money Formatting

New Member
8 0 0

When I deploy:

{{ tax_price | divided_by: 100}}

It spits out '6' when really the correct result should be '6.76' since {{tax_price}} itself returns '676' 

Why is it rounding it? And, more bizarrely, rounding it down?

0 Likes
Shopify Expert
685 0 68

Try this:

{{ tax_price | money }}

 

I'm a million different people
0 Likes