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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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



Community Member, 80 Posts

7 December 2011 at 1:27am


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!