Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: Alternate Money Formatting

  1. #1
    Donating Player Blake's Avatar
    Join Date
    May 2011
    Location
    New Zealand
    Posts
    256
    Rep Power
    1

    Alternate Money Formatting

    I don't know if this has been suggested before, I couldn't find a thread regarding it.

    As you know, monetary values in-game are displayed as normal integers.
    e.g. 10 million in SACNR currency is shown as $10000000.

    Throughout every client message in the game, this unformatted way is used. As many of you may know this becomes difficult to read and can take time when many place holders are present in the number. Therefore, I propose that numbers are formatted with grouped thousands, for example:

    • Hundred = 100 = $100
    • Thousand = 1000 = $1,000
    • Hundred Thousand = 100000 = $100,000
    • Million = 1000000 = $1,000,000
    • Ten Million = 10000000 = $10,000,000
    • Hundred Million = 100000000 = $100,000,000


    This is a minor thing but it can save a lot of time and stop accidental commands being issued with incorrect values.

    As noted by Potassium, different countries vary between using a period (.) and a comma (,) to separate groups of thousands. Adding a toggle in /settings, much like the imperial and metric toggle, would solve this.

  2. #2
    Donating Player SnowStorm's Avatar
    Join Date
    Jun 2012
    Location
    Iceland
    Posts
    410
    Rep Power
    1
    Would be great!

  3. #3
    Donating Player Slizer's Avatar
    Join Date
    May 2015
    Location
    Sweden
    Posts
    5,227
    Rep Power
    1
    Suggested before and +1

  4. #4
    Donating Player Blake's Avatar
    Join Date
    May 2011
    Location
    New Zealand
    Posts
    256
    Rep Power
    1
    Quote Originally Posted by Slizer View Post
    Suggested before and +1
    I thought that might be the case, I'm shit at searching the forum.

  5. #5
    Donating Player DeathTone's Avatar
    Join Date
    May 2011
    Location
    Texas, USA's capital
    Posts
    1,206
    Rep Power
    1
    Theres shitloads of includes for this at the sa-mp forums, so wouldnt see an issue there.
    Slice made formatex(), and also made a format() specifier (%m) that does this already, ect:

    format(string, 128, "%m", 10000);

    Would print: "$10,000", so blacklite would basically just have to ctrl+r all "$%d" with "%m"

  6. #6
    Donating Player Breeze's Avatar
    Join Date
    May 2011
    Location
    Uluru
    Posts
    935
    Rep Power
    1
    Would be good for people who are not very good with numbers. +1


  7. #7
    Donating Player KURZALEWSKI's Avatar
    Join Date
    Jan 2012
    Location
    ::1/128
    Posts
    2,060
    Rep Power
    1
    Quote Originally Posted by Breeze View Post
    Would be good for people who are not very good with numbers. +1
    Exactly, +1.

  8. #8
    Player
    Join Date
    May 2011
    Location
    good old germany
    Posts
    2,236
    Rep Power
    1
    has been suggested before
    1million is = 1 with 6 zero´s = 1000000
    aint that hard
    for me thats the easier way to go, i dont see any problems with it, fine the way it is
    also i havent seen any complains about " damn i transfered 10million instead of 1 "
    or similar, changing this will actually really end up in a mess or people making typo´s like" deposit 1,000000
    but they typed /deposit 1.000000

    from me a -1 sry
    you can fool some people sometimes, but you cant fool all the people all the time(bob marley)

    jah blessings
    rastafarie[SIGPIC]http://ft2.dtupload.com/6Pi/love.jpeg[/SIGPIC]

  9. #9
    Donating Player Nano_UY's Avatar
    Join Date
    May 2011
    Posts
    354
    Rep Power
    1
    yeah, It'd be better when you buy/sell a house it can get pretty annoying when you see someone is giving you money constantly but you can't difference wether it is 1m 10m or 100k. +1

    VISIT UY YOUTUBE CHANNEL! www.youtube.com/UYProductions Please feedback; like, comment and subscribe!

  10. #10
    Donating Player sca's Avatar
    Join Date
    Jan 2012
    Location
    Zrenjanin, Serbia
    Posts
    311
    Rep Power
    1
    +1 nice, would help a lot :D

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •