I'm finishing up a little script and am having some math issues converting american odds to decimal odds. The formula I am currently using works most of the time, but sometimes it gives me odds that are not in line with other bookies offering similar odds and it is making the comparison out of whack.
Here is what I am using to convert american to decimal:
am >= 100
dec = 1 + (am / 100)
am <= -100
dec = 1 - (am / 100)
Is this correct?














LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks