Closed (fixed)
Project:
Commerce Costs Profits
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
2 Oct 2018 at 18:57 UTC
Updated:
26 Nov 2018 at 14:02 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
daggerhart commentedAttached patch replaces `Math.round(price)` with `price.toFixed(2)` so that decimals more respected. This may still be imperfect calculations for the price, but appear much more exact than the current whole numbers.
Comment #4
potop commentedComment #6
potop commentedFixed in dev branch.
Separate setting introduced for admin area total rounding precision.
Comment #7
potop commented@daggerhart Thank you for the patch.
I've introduced a setting for rounding precision so the module could support currencies which has minor value of what is behind decimal point.
Comment #8
potop commentedComment #10
daggerhart commentedEven better. Updated and tested out, seems to be working well, thanks for the fix!