• REGISTRATION REQUIREMENTS:

    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.

Amount shown in Sportsbook

EasyEazy

Member
CAS Premium
RMS Premium
UBS Premium
Pick'em
Sportsbook
@Bob

Is there a way to remove the decimal at the end of an amount in Sportsbook? The majority of values we deal in is in the millions. As you see below the stake so far is 15,150,000.00

Is there a way to remove the .00?
 
All financial outputs in sportsbook use the XF2 |currency helper which in turn formats the data to the Currency Format for the language.

Example of just a FEW of the 100's that are used throughout sportsbook.

{$content.amount_paidout|currency}
{$event.amount_staked|currency}
{$event.amount_paidout|currency}
{$outcome.amount_staked|currency}

You'd have to convert all of them to |number format as shown below (which would be one hell of a task to do).

{$outcome.wager_count|number}
 
Can you post some screen shots where its causing display issues?


Sure I can. See below. Like you said its on every page and looks like way to much work. Just one of member members asked me today why he placed 10 million on a bet that was set as a 2 million max but it wasn't 10 million it was 10 shown as 10,000.00 and clearly he couldn't count the zeros anyway. Just a bit confusing.

bet2.jpg bet3.jpg bets1.jpg
 
I don't see anything in those screenshots that is effecting the layout in any way (which would be a display issue). Still plenty of space left for even larger insane numbers. If there are some layout issues going on because of excessively large financial numbers being displayed, that might be something I could maybe handle in a different way in a future redesign.
 
I don't see anything in those screenshots that is effecting the layout in any way (which would be a display issue). Still plenty of space left for even larger insane numbers. If there are some layout issues going on because of excessively large financial numbers being displayed, that might be something I could maybe handle in a different way in a future redesign.

Its fine Bob they were just questioning how many zeros do we have on display. Coming from vBulletin it handled it differently but nothing the members can get used too.
 
  • Like
Reactions: Bob
Back
Top