Jump to:

2082 Posts in 1002 Topics by 452 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: 377 Views
  • janulka
    Avatar
    Community Member
    80 Posts

    setDecimalDelimiter / setThousandDelimiter Link to this post

    Hello,

    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!

    377 Views
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.