I am creating a software to automaticaly place bets on a betting exhange...
The software keeps track of the current loss and is supposed to adjust it to take account for the 5% commission charge taken from any winnings.
My first thought on how to do this was to add 5% to each loss before adding it to the total but this doesn't work.
I need to know how to adjust the loss to an ammount which equals the actual loss when it has 5% deducted from it.
Hope somone can help.