划分的脚本 [英] Script to divide

查看:55
本文介绍了划分的脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好的帮派。这就是我所拥有的。我在微软

服务器上使用asp和Access数据库。


我不知道预制脚本是否存在,但我无法'找不到。

我正在寻找一个用于我的高尔夫球队的脚本。我们有内部比赛
我们玩的
,我希望显示比赛的收益,有点像PGA高尔夫球场的
。这个剧本必须做的是,看看有多少玩家完成了比赛,并且每次比赛除以总数(这将是
$ 1,000,000 cyberbucks)。我需要它给予最多,

秒,等等。但是我无法做的事情是确定

不同数量的终结者的分解。


如果4一直完成,公式将会很容易,但有时会有

多达20个完成。


这有意义吗?如果有人想给我发电子邮件,他们可以。它很难描述我需要的东西。 --****@gig-golf.com ---(取出

- 两端都是我的电子邮件。

谢谢

Bam

解决方案

1,000,000个cyberbucks)。我需要它给予最多,

秒,等等。但是我无法做的事情是确定

不同数量的终结者的分解。


如果4一直完成,公式将会很容易,但有时会有

多达20个完成。


这有意义吗?如果有人想给我发电子邮件,他们可以。它很难描述我需要的东西。 --****@gig-golf.com ---(取出

- 两端都是我的电子邮件。

谢谢

Bam


> PGA高尔夫呢。这个脚本必须做的是看看有多少

玩家完成了比赛,并划分了总数(这将是


1,000,000 cyberbucks )每个事件。我需要它给予最多,第二少,等等。但是我无法做的事情是确定不同数量的终结者的分解。

如果4一直完成,公式会很容易,但有时会有$>多达20个完成。




这真的不是一个ASP问题,但我会试一试。


这真的取决于你想要如何划分底池。你想要

给赢家一半的底池,底池的1/3,底池的1/4 ??


你永远都会去两半,无论有多少人在
钱中。


获胜者获得1/2,第二名获得一半'' s left(所以真的,1/4),

第3名获得了之后剩下的东西,(1/8)等等。最后

男人得到剩下的东西。


如果两个或两个以上的人打成平手,他们完成的那些地方平均有这些地方的平均金额。
>


Ok gang. Here is what I have. I am using asp with Access DB on a microsoft
server.

I don''t know if a premade script exists out there, but I couldn''t find it.
I am looking for a script to use for my golf team. We have In-House Tourneys
that we play, and I want to show earnings won for the tourney, kind of like
the PGA golf does. What this script would have to do, is see how many
players finished the tourney, and divide the total (which would be
$1,000,000 cyberbucks) per event. I would need it to give first the most,
second less, and so on. But the thing that I am unable to do, is determine
the breakdown with different amount of finishers.

If 4 finished all the time, the formula would be easy, but sometimes there
are as many as 20 that finish.

Does this make sense? If someone wants to email me about this they can. It
is kind of hard to describe what I need. --****@gig-golf.com--- (take out
the -- on both ends) is my email.
Thanks
Bam

解决方案

1,000,000 cyberbucks) per event. I would need it to give first the most,
second less, and so on. But the thing that I am unable to do, is determine
the breakdown with different amount of finishers.

If 4 finished all the time, the formula would be easy, but sometimes there
are as many as 20 that finish.

Does this make sense? If someone wants to email me about this they can. It
is kind of hard to describe what I need. --****@gig-golf.com--- (take out
the -- on both ends) is my email.
Thanks
Bam


> the PGA golf does. What this script would have to do, is see how many

players finished the tourney, and divide the total (which would be


1,000,000 cyberbucks) per event. I would need it to give first the most,
second less, and so on. But the thing that I am unable to do, is determine
the breakdown with different amount of finishers.

If 4 finished all the time, the formula would be easy, but sometimes there
are as many as 20 that finish.



This really isn''t an ASP question, but I''ll give it a go.

It really depends on how you want to divide the pot up. Do you want to
give the winner half the pot, 1/3 of the pot, 1/4 of the pot??

You would always go in halves, no matter how many people are "in the
money".

Winner gets 1/2, 2nd place gets half of what''s left (so really, 1/4),
3rd place gets have of what''s left after that, (1/8), etc. The last
guy gets whatever is remaining.

If two or more people tie, those places that they finished have the
money averaged out for those places.


这篇关于划分的脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆