Quote:
Originally Posted by VerkroostJ
Thanks for mod; it's very nice.
However, there is a fundamental problem with the odds. When you enter the normal odds format, e.g. 2/1 the odds are also displayed in decimal format, e.g. 2.0.
The problem is that the coversion is not correct. 2/1 is 3.0 in decimal odds, not 2.0 as it currently displays. The conversion formula is divide and add one.
Decimal odds reflect your total payback based on a bet of 1 unit, so if you were to bet ?1 at decimal odds of 3.0, if your bet won you would receive ?3 back; effectively ?2 in winnings and your ?1 stake.
Normal odds don't take into account the stake returned, so 2/1 means for every 1 unit bet you will receive 2 units in winnings. However, you will also receive your stake back. Thus, if you were to bet ?1 at odds of 2/1, if you bet won you would receive ?2 in winnings and your ?1 stake; ?3 total
|
This is correct.........I hope it will be an easy fix

the payout amounts don't change, the display of the decimal odds just needs to have a "+ 1". Maybe someone who's handy in php can find where this bit of code is and show us how to do it.
An unrelated question, if I want to use vCash, where can I manually add funds to users accounts? Let's say I am running a weekly comp, and I want to reset everyone to 1000 each week for example....