This solution is bad too.
I did that and price was changed to 860.99
So I restored files: product.product_form.php and product.product_price.php and table _vm_product_price to state before I made this:
http://forum.virtuemart.net/index.php?topic=78686.msg260882#msg260882 but that did not help.
Why from 1st to 3rd step the price is 861.00 but in 4th is 860.99 (now)?
maybe some method don't use round() function at the right place?
I tried to found it but i don't know where I should start.
---------
148,58 (net) *0.95(discount) *1.22(Tax) *5(number of products) =861,02 yes this is the way how it is made at 4th step
but from 1st to 3rd step in code must be use PHP round() function. Something like that
$price1= round((net*discount),2);
$price2= round(($price1*Tax),2);
$totalPrice= round(($price2*quantity),2);
$price1=141.15;
$price2=172.20;
$totalPrice=861.00;
-----------
"Another workaround probably would be to type "148,57" into the 'net' field, which should display 172,20 too."
It is a bad idea. It's good if you have 1-5 products. But if you have for example 100 and each have another net price? You must check each of them and modify his price.
[attachment cleanup by admin]