Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Not a Bug decimal odds

Discussion in 'Sportsbook Resolved Bug Reports' started by Kintaro, Jul 28, 2012.

  1. Kintaro

    Kintaro Active Member AMS RMS Premium Showcase Pickem Sportsbook

    As you can see here: http://oddsconverter.co.uk/
    To convert fractional odds to decimal, divide the first figure by the second figure add 1.00 (so 11/4 = 2.75, then add 1.00 = 3.75).

    Sportsbook convert odds in "decimal - 1.0"


    9/4 is 3.25 (1$ => 3.25$)
    Sportsbook say 2,25.

    How can I fix it temporally, waiting for the next update?
  2. Bob

    Bob Developer Staff Member

    This add does not use the European Decimal Odds factoring nor does it convert anything. Not sure where you came up with the idea that it does. I've not published that anywhere. This addon is based on US Sports Wagering (ie Vegas).

    The Decimal Odds that are displayed are simply the decimal version of the fraction (American, not British or European)..

    ie 2/1 = 2.00 5/1 = 5.00

    If you want it to display the decimals in another format, you will need to modify all the various 'formatOutcomeOdds' methods in the models. That would only effect the "Display", it wouldn't effect any financial differences (if there are any).

    I won't be changing this, but will consider adding in functionality to allow an admin to chose which decimal system to display.

    also, inbox me and I can assist you in modifying the appropriate methods.
  3. Kintaro

    Kintaro Active Member AMS RMS Premium Showcase Pickem Sportsbook

    Opsss! I was thinking that the option for decimal was intended for european decimal odds.
    Yes I confirm that the calculation of the outcome is right, only the output is wrong viewing from the "european side".

    I think it can be a smart thing add the "european view" in this addon, so your customers target will increase.

    I will inbox you for modify the method adding the "lost 1.0" ;)
    Bob likes this.
  4. Bob

    Bob Developer Staff Member

    No probs :) I've got it noted to add in EU decimals.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.