Forum
Separation between thousands
I use the currency CHF and I want the separation of thousands is displayed with a " ' " (apostrophe) in place of "," as is done now. Is it possible to change this setting?
I use the currency CHF and I want the separation of thousands is displayed with a " ' " (apostrophe) in place of "," as is done now. Is it possible to change this setting?
What format codes are you using, and what's your server locale set to?
I try to format a field from a shop template with: type="shop_currency_value". My server locale is setlocale (LC_ALL, 'fr_CH','fra'); If I use format="#:2|.|'" with this field type the page display 0.00 for the price.
I thought we were using
money_format()
for this, which respects locale settings, but for various reasons we're actually usingnumber_format()
, which doesn't.So at the moment there isn't a setting for this.
ok thank you for the answer. Is it possible to use money_format() in the future? A correct format of a price in a shop is important for my client.
I don't think we'll move to
money_format()
but we will try to add an option for the thousands separator.