Go back to previous page
Forum URL: http://www.cut-the-knot.org/cgi-bin/dcforum/forumctk.cgi
Forum Name: This and that
Topic ID: 66
Message ID: 0
#0, Allocating Bonus Based On Balance
Posted by simpsonn on Jan-04-01 at 10:55 AM
I have a problem where I want to allocate a bonus to one of four parties in ratio to their existing balance (which can be positive or negative). If I used their balance over the total I would get wild results. How can I pro-rate this bonus based on existing balances ?