Welcome, Guest ( Customer Panel | Login )




 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

4679 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
0 Item(s)
$0.00