VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 VP-ASP 6.00 Questions
 Discount not calculated correctly - fix?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

stardog777
Starting Member

37 Posts

Posted - January 03 2003 :  12:02:08  Show Profile  Reply with Quote
Does anyone know why when I comment out this line:

DiscountPrice=formatnumber(Discountprice,xdecimalpoint)
~shopuserprice.asp~

The discounts calculate correctly? Otherwise it rounds incorrectly and the discount is wrong.


support
Administrator

4266 Posts

Posted - January 03 2003 :  15:21:03  Show Profile  Visit support's Homepage  Reply with Quote
This is a bug. The correct line is

DiscountPrice=formatnumber(Discountprice,getconfig("xdecimalpoint"))

Howard Kadetz
VP-ASP

Go to Top of Page

fraser
Starting Member

Canada
37 Posts

Posted - January 30 2003 :  01:25:21  Show Profile  Reply with Quote
For anyone that is concerned...this already has been fixed on VP-ASP 4.50a.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000