Discussion Forum: Thread 153079

 Author: ManOfScience View Messages Posted By ManOfScience
 Posted: May 28, 2013 19:10
 Subject: Error in calculating Average Max Price
 Viewed: 67 times
 Topic: Suggestions
 Status:Discarded
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

ManOfScience (152)

Location:  Canada, Saskatchewan
Member Since Contact Type Status
Aug 11, 2012 Member Does Not Allow Contact Seller
Buying Privileges - OKSelling Privileges - OK
Store: HypnoGoGo
This is not important, but might be easy to fix.

When item is in more than one "wanted" list, and they both have a Max Price
entered, the average is displayed, but it is wrong.

The calculation fails to sum the values before dividing.

eg)
Max Price A: $0.15
Max Price B: $0.15
My Avg Max Price: CA $0.075

Otherwise, thanks for all the great work!
 Author: Brickwilbo View Messages Posted By Brickwilbo
 Posted: May 28, 2013 19:20
 Subject: Re: Error in calculating Average Max Price
 Viewed: 23 times
 Topic: Suggestions
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

Brickwilbo (1534)

Location:  Netherlands, Gelderland
Member Since Contact Type Status Collage
Oct 24, 2007 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
View Collage Pic
Store Closed Store: Brickwilbo Betuwe Bricks
BrickLink Discussions Moderator (?)
In Suggestions, ManOfScience writes:
  This is not important, but might be easy to fix.

When item is in more than one "wanted" list, and they both have a Max Price
entered, the average is displayed, but it is wrong.

Where is it displayed?
I've never seen a wanted-average price displayed.
http://www.bricklink.com/help.asp?helpID=31&q=average

  The calculation fails to sum the values before dividing.

eg)
Max Price A: $0.15
Max Price B: $0.15
My Avg Max Price: CA $0.075

Otherwise, thanks for all the great work!