VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: manch on November 22, 2011, 18:56:55 PM

Title: rounding digits problem in cart view
Post by: manch on November 22, 2011, 18:56:55 PM
If i choose 0 rounding digits for prices in the vmconfig, in the frontend cart view (if i put something in the cart) there are 2 digits of rounding in all the prices.

Here is a test site with this bug:
http://pilisprint.feketegyuri.hu/index.php/vasarlas/vasarlasi-adatok-modositasa

VM1.98M, Joomla 1.7.1

Manch
Title: Re: rounding digits problem in cart view
Post by: cas on December 30, 2011, 04:23:46 AM
I'm using VM2.0.0 and I have the same problem.  I need some products to round the price out to 3 digits when it applies the calculation rules, but it only uses 2 digits, regardless of how many digits I put in the admin config in Rounding Digits column.  The problem shows up everywhere and not just in the cart. 
Title: Re: rounding digits problem in cart view
Post by: drizzt99 on February 21, 2012, 12:38:18 PM
Got this exact problem.
Any idea how to solve this?
Title: Re: rounding digits problem in cart view
Post by: vapro on March 13, 2012, 14:41:25 PM
I have same problem in vm2.0.2
I want to round prices in cart to 2 digit.
how can i solve this?
Title: Re: rounding digits problem in cart view
Post by: Milbo on March 14, 2012, 19:40:29 PM
Use the C version
Title: Re: rounding digits problem in cart view
Post by: mehranmahouti on March 23, 2012, 18:04:24 PM
Could you please explain the "C Version" I have the same problem and try to solve it.

Regards,
Mehran
Title: Re: rounding digits problem in cart view
Post by: Matej.iStraxx on August 27, 2013, 12:32:47 PM
Quote from: cas on December 30, 2011, 04:23:46 AM
I'm using VM2.0.0 and I have the same problem.  I need some products to round the price out to 3 digits when it applies the calculation rules, but it only uses 2 digits, regardless of how many digits I put in the admin config in Rounding Digits column.  The problem shows up everywhere and not just in the cart. 

Rounding issue explanation by Milbo: Please read here http://forum.virtuemart.net/index.php?topic=108809.msg367089#msg367089