Showing results for 
Search instead for 
Did you mean: 

Rounded price problem

Rounded price problem

On magento 2.2.5 I have added the following to our credit memo transactional e-mail....


{{var creditmemo.grand_total}}


Problem is that produces the following price like: 00.0000, how can I round that to two decimal places only?



Re: Rounded price problem

Hi @SamB_GB


Well , you can do that by creating plugins and modifying the decimal values !


Below i am sharing the reference  links for the same !



Hope it helps !

if issue solved,Click Kudos & Accept as Solution

Re: Rounded price problem

I believe all of those solutions pertain to the frontend/backend, and not to the transactional email.