-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Swedish rounding #3
Comments
Hi |
Update the module, please |
Its interesting bug ... |
Do you think you can fix this "bug"? |
Fixed. Check, please. |
Guy, you rock! Thanks for fix, works well. Will close this issue/request now - but if you want, pleace create a donation button - would like to spend you something for your work! |
I just allow myself to reopen the thread. I've noted that there is a problem with the calculation, as soon, as you use "display price including taxes". For example: Customer use a product price excl. vat (8%) from 310.19. Now magento 2 shows the customer 335.01 (including tax). Your module rounds the price (310.19 to 310.20, so magento 2 shows the customer 335.02 instead of rounding to 335.00). Can you maybe find a fix for this problem? Thanks for your great work! |
Ok, i will try. |
Just so you know, I didn't recognise the term "Swedish Rounding". I think that most of the world knows this as "Cash Rounding" |
Hi
Thanks for the useful extension! Just have done some first checks in our demo envroiment and have noticed that you not can "Swedish Round" (round to the next 0.05, for example: 2.42 => 2.40 / 2.43 => 2.45).
Is it possible, that you can implement this feature?
Normaly it works over this small code snip:
$betrag = round(($betrag + 0.000001) * 20) / 20;
Best Regards
Raphael
The text was updated successfully, but these errors were encountered: