Knowledgebase

Home » Item #270

How do I change the way currency is formatted?

Item: #270
Date: 5 Sep 2002
Applies to
v4

Question

Can I change the prices (comma and dot) to display like this - 1.000,00?

Answer

Currency in CactuShop is not formatted by the built-in function within ASP. We use our own function (in functions.asp) called 'Pounds' to do this.

The advantage is that you don't need to use the server currency settings, but can format currency in a totally configurable way.

Rewriting the 'Pounds' function, you should be able to get the comma (,) as decimal indicator and then add code to insert a (.) for thousands separator.

Can't find the answer you need? Click here to open a support ticket.

« Back