News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Still getting rounding error in basket (joomla v153, VM v1.1.2)

Started by Goober, August 21, 2008, 15:49:13 PM

Previous topic - Next topic

Goober

Hi,

Still getting a rounding error in bascket. See image for details.



Thanks
/Goober

jjk

Hi,

just for your information - just wanted to see if I have the same error on my system, but can't replicate it. On my system the cart correctly shows $2161.89

The rounding error should have been corrected with build 1492. Have a look if you are using VM 1.1.2 Build 1492 or higher.

If that doesn't help - do you happen to use an older version of MySQL? MySQL changed the handling of Decimal Data Types in MySQL 5.03 (I'm not shure if this affects rounding in VM)
-----------------
I'm using:
VirtueMart 1.1.2
Database Version:       5.0.51b-community
Database Collation:    latin1_swedish_ci
PHP Version:    5.2.6
Web Server:    Apache/2.2.9 (Win32) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8h mod_autoindex_color PHP/5.2.6
Web Server to PHP interface:    apache2handler
Joomla! Version:    Joomla! 1.5.6 Production/Stable [ Vusani ] 12-August-2008 22:00 GMT
User Agent:    Mozilla/5.0 (Windows; U; Windows NT 5.0; de; rv:1.9) Gecko/2008052906 Firefox/3.0
-----------------------------
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Goober

Quote from: jjk on August 21, 2008, 22:57:14 PM
Hi,
just for your information - just wanted to see if I have the same error on my system, but can't replicate it. On my system the cart correctly shows $2161.89
The rounding error should have been corrected with build 1492. Have a look if you are using VM 1.1.2 Build 1492 or higher.
If that doesn't help - do you happen to use an older version of MySQL? MySQL changed the handling of Decimal Data Types in MySQL 5.03 (I'm not shure if this affects rounding in VM)
-----------------
I'm using:
VirtueMart 1.1.2
Database Version:       5.0.51b-community
Database Collation:    latin1_swedish_ci
PHP Version:    5.2.6
Web Server:    Apache/2.2.9 (Win32) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8h mod_autoindex_color PHP/5.2.6
Web Server to PHP interface:    apache2handler
Joomla! Version:    Joomla! 1.5.6 Production/Stable [ Vusani ] 12-August-2008 22:00 GMT
User Agent:    Mozilla/5.0 (Windows; U; Windows NT 5.0; de; rv:1.9) Gecko/2008052906 Firefox/3.0
-----------------------------
Hi,

Make sure to go through the checkout to the last step (see image).
It is at the last step when you should see the problem.

when I first reported this error. It would show up right away. After v1.1.2 patch, the error shows up in the last step only.

I'm using:
VirtueMart 1.1.2
Database Version:        5.0.24-standard
Database Collation:    latin1_swedish_ci
PHP Version:    5.2.5
Web Server:    Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.5
Web Server to PHP interface:    apache2handler
Joomla! Version:    Joomla! 1.5.4 Production/Stable
User Agent:    Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1Gecko/2008052906 Firefox/3.0

jjk

Quote from: Goober on August 23, 2008, 03:54:20 AM
...the error shows up in the last step only.

You are correct. I can confirm this!
In my previous message I only looked at the first checkout screen.

Joerg
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations