[MSHOP-147] Shopping cart does not round up to 2 decimal points Created: 16/May/14  Updated: 22/Apr/15  Resolved: 26/Feb/15

Status: Closed
Project: Magnolia Shop (closed)
Component/s: None
Affects Version/s: 2.0.1
Fix Version/s: 2.1.1, 2.2

Type: Bug Priority: Major
Reporter: Ruth Stocks Assignee: Antonín Juran
Resolution: Fixed Votes: 0
Labels: evaluate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows 7


Attachments: PNG File shopping-cart-page.png    
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

The shopping cart does not round up to the nearest cent. See attached screenshot.
magnolia-enterprise-5.2.4/magnolia-module-shop-2.0.1-SNAPSHOT (April 22)



 Comments   
Comment by Robert Šiška [ 13/Feb/15 ]

Please don't round the value in the model as someone might need that information.

Change the formatting in the template instead (see ShopParagraphModel#getCurrencyFormatting())

Comment by Jan Haderka [ 24/Feb/15 ]

Perhaps this is worth of unit test to make sure we don't have any regressions in the future.

Generated at Mon Feb 12 07:09:47 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.