Money Line Odds. What the hell?

Kick back and relax. Anything that does not have to do with footbag goes here!
Post Reply
User avatar
Toasty
Shredaholic
Posts: 127
Joined: 05 Jun 2009 14:46
Location: Seymour, TN
Contact:

Money Line Odds. What the hell?

Post by Toasty »

So, I have a lab assignment I need to complete in my computer science class. I have to write a program which prompts the user for two values: the odds on an event, and the dollar amount of a bet. The program will then output how much money you would win if your bet wins. The thing is, I have no idea how money line odds work. I've read and read things about it, but I just can't seem to get my head around it. I don't need help with the program itself. Once I understand how the odds work, I can do the assignment. So, if any of you gamblers out there (Or any other person willing to explain), could help me understand how this work I'd forever be in debt.
Brandin Sharp Image
mc
Modifiend
Posts: 7628
Joined: 22 Apr 2002 15:16
Location: Brooklyn, NY, USA

Post by mc »

if the odds are 2:1, and the bet is $25, and you win, you get $50.


http://en.wikipedia.org/wiki/Fixed-odds_betting
BRICK!

rfa::never give up::
nyfa
User avatar
Toasty
Shredaholic
Posts: 127
Joined: 05 Jun 2009 14:46
Location: Seymour, TN
Contact:

Post by Toasty »

So the odds can be written as a ratio? Say the odds were +150, and you bet $200. How does this work?
Brandin Sharp Image
mc
Modifiend
Posts: 7628
Joined: 22 Apr 2002 15:16
Location: Brooklyn, NY, USA

Post by mc »

scroll down a little further on the wikipedia page, it shows a chart converting fractional odds to ratio odds to money-line odds etc etc.
BRICK!

rfa::never give up::
nyfa
User avatar
Toasty
Shredaholic
Posts: 127
Joined: 05 Jun 2009 14:46
Location: Seymour, TN
Contact:

Post by Toasty »

Ooooooh! Thank you very much!
Brandin Sharp Image
mc
Modifiend
Posts: 7628
Joined: 22 Apr 2002 15:16
Location: Brooklyn, NY, USA

Post by mc »

if you're curious to know how I found this information, I'll tell you, it was actually pretty tricky...

i moved my cursor over the little box on www.google.com, typed in "money line odds", and pressed enter.

it was the first result.

;) glad to be of service.
BRICK!

rfa::never give up::
nyfa
User avatar
Toasty
Shredaholic
Posts: 127
Joined: 05 Jun 2009 14:46
Location: Seymour, TN
Contact:

Post by Toasty »

Yeah. I always check out Google and Wikipedia. I guess I just didn't look into Wikipedia that well.

Edit: Yep. I got the program completely working now! Thanks a bunch!
Brandin Sharp Image
User avatar
Blue_turnip
Egyptian Footgod
Posts: 1239
Joined: 29 Nov 2004 03:55
Location: Melbourne

Post by Blue_turnip »

Man, how are you going to be a degenerate gambler if you don't even understand odds?
Oliver Adams
User avatar
Toasty
Shredaholic
Posts: 127
Joined: 05 Jun 2009 14:46
Location: Seymour, TN
Contact:

Post by Toasty »

This is so old. I've been done with this project since the day I actually wrote this post.
Brandin Sharp Image
crazylegs32
Egyptian Footgod
Posts: 1341
Joined: 02 Sep 2005 19:45
Location: Palatine/Chicago Burbs

Post by crazylegs32 »

we just keep posting because its funny you had to ask modified. Wanna bet on who wins worlds? :D
Post Reply