Jump to:

2084 Posts in 1005 Topics by 453 members

E-Commerce Modules

SilverStripe Forums » E-Commerce Modules » setDecimalDelimiter / setThousandDelimiter

Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.

Moderators: martimiz, Nicolaas, Sean, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba, simon_w

Page: 1
Go to End
Author Topic: 390 Views
  • janulka
    Community Member
    80 Posts

    setDecimalDelimiter / setThousandDelimiter Link to this post


    I have in my config:

    EcommerceCurrency::setDecimalDelimiter(','); //for Money formating
    EcommerceCurrency::setThousandDelimiter('.'); //for Money formating

    But still, the number is formatted 1,500.00 instead of 1.500,00

    What do I do to get this right?

    Thank you!

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.