Find Jobs
Hire Freelancers

CurrentPrice and MinimumBid Functions for Auction Site

$15-20 USD

已关闭
已发布超过 21 年前

$15-20 USD

货到付款
I am looking for an algorythm, similar to what eBay has to determine the current price and minimum bid for an auction item. Attached you will find 3 functions in VBScript: GetMinimumBid GetCurrentPrice GetBidStep These functions need to work with multiple items and multiple bids and need to return the correct amount. The attached functions (GetMinimumBid and GetCurrentPrice) already work if there's a fixed "bid step" amount. But I now want to make the bid step a function of the current price. The problem is, right now the current price is a function that takes the bid step as a parameter. It should work like this sample auction: 1) Start price is $100, Quantity = 2 2) Bid step according to the table = 2.50 3) No bids -- Current price = 100 4) No bids -- Minimum bid = 100 ----------------------------- 5) 1 Bid -- Current price = 100 6) 1 Bid -- Minimum bid = 100 ----------------------------- 7) 2 Bids -- Current price = 100 8) 2 Bids -- Minimum bid = 102.50 ----------------------------- 9) 3 Bids -- Current price = 102.50 10) 3 Bids -- Minimum bid = 102.50 ----------------------------- 11) 4 Bids -- Current price = 102.50 12) 4 Bids -- Minimum bid = 105 ----------------------------- 13) 5 Bids -- Current price = 105 14) 5 Bids -- Minimum bid = 105 ----------------------------- 15) 6 Bids -- Current price = 105 16) 6 Bids -- Minimum bid = 107.50 ----------------------------- and so on... the bid step should auto adjust according to the current price. It should also work with 1 item, etc. Take eBay as a reference. You need some math to be able to do this. I need this functions fixed ASAP. Thanks. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Complete ownership and distribution copyrights to all work purchased. ## Platform ASP/VBScript ## Deadline information ASAP
项目 ID: 2878611

关于此项目

6提案
远程项目
活跃21 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
6威客以平均价$14 USD来参与此工作竞价
用户头像
See private message.
$17 USD 在14天之内
5.0 (36条评论)
4.6
4.6
用户头像
See private message.
$17 USD 在14天之内
4.8 (11条评论)
4.6
4.6
用户头像
See private message.
$17 USD 在14天之内
4.6 (60条评论)
4.5
4.5
用户头像
See private message.
$8.50 USD 在14天之内
5.0 (7条评论)
2.9
2.9
用户头像
See private message.
$17 USD 在14天之内
0.0 (0条评论)
0.0
0.0
用户头像
See private message.
$8.50 USD 在14天之内
0.0 (0条评论)
0.0
0.0

关于客户

GERMANY的国旗
Munich, Germany
5.0
31
付款方式已验证
会员自5月 17, 2001起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。