1. REGISTRATION REQUIREMENTS:

    Register with your xenforo.com Username then 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.

Change seperators

Discussion in 'Stock Trader Support' started by McAtze, Mar 5, 2013.

  1. McAtze

    McAtze Member AMS Premium CAS Premium RMS Premium SC Premium UBS Premium Sportsbook Pickem Power Rankings

    Is it possible or where can i change the thousander/decimal seperators into european standard?

    Like: US Standard 100,000.00 --> EU Standard 100.000,00
     
  2. Bob

    Bob Developer Staff Member

    no, there is not a setting to do this. All settings for Stock Trader are in the Stock Trader options.

    I use the default php function number_format throughout the addon. I am not sure if you can replace those with a different function or not. There are many of these. There is not just 1 location that you can edit to change this. All formatting is done within the MODELS (usually a method that uses the word format in it ie... formatUserStockInfo($userStockInfo, $currentStockInfo);

    example...
    PHP:
    $stock['gain'] = number_format($stock['gain'],2);
     
  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.