Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

E-Commerce Modules /

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, Ed, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba

setDecimalDelimiter / setThousandDelimiter


Go to End


1357 Views

Avatar
janulka

Community Member, 80 Posts

7 December 2011 at 1:27am

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!