- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2018
03:47 PM
08-10-2018
03:47 PM
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?
Labels:
4 REPLIES 4
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2018
10:25 PM
08-10-2018
10:25 PM
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 !
https://magento.stackexchange.com/questions/200556/format-price-decimal-points
Hope it helps !
if issue solved,Click Kudos & Accept as Solution
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2018
01:38 AM
08-11-2018
01:38 AM
Re: Rounded price problem
I believe all of those solutions pertain to the frontend/backend, and not to the transactional email.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2018
01:57 PM
08-23-2018
01:57 PM
Re: Rounded price problem
Still looking for a solution to this. Anyone done this before?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2019
11:47 PM
11-19-2019
11:47 PM
Re: Rounded price problem
Did you get the solution for this ?