Forums

This topic is locked

Format currency problem

Posted 27 Feb 2003 22:54:36
1
has voted
27 Feb 2003 22:54:36 Bec C posted:
I am using the format currency asp command to drag prices from a database. On my local computer the page is displaying UK pounds (correct) but on the server it is showing dollars (incorrect). The regional settings are all UK so where is the hidden problem?

I am using this command:

FormatCurrency((rsOffers.Fields.Item("price".Value), -1, -2, -2, -2)

Replies

Replied 27 Feb 2003 23:32:33
27 Feb 2003 23:32:33 Owen Eastwick replied:
Try:

<%
varLocale = SetLocale(2057)
FormatCurrency((rsOffers.Fields.Item("price".Value), -1, -2, -2, -2)
%>

More: www.drdev.net

Regards

Owen.

-------------------------------------------------------------------------------------------
Used programming books and web development software for sale (UK only): www.tdsf.co.uk/tdsfdemo/Shop.htm

Developer services and tutorials: www.drdev.net

Multiple Parameter UD4 / Access 2000 Search Tutorial: www.tdsf.co.uk/tdsfdemo/

Reply to this topic