• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 225
  • Last Modified:

Displaying a £ sign instead of a $ sign

What is the best (and if possible, the easiest ) way to get Visual Interdev 6 to display a £ sign without having to change the code of my website?  

The code I'm using is <%=formatcurrency(cTotal)%>, which is displaying it as $2.00 for example, I want it to display it as £2.00.  

I've adjusted the Regional Settings in the Control Panel of Windows 2000 Professional, so it is set to English - United Kingdom, but I'm not sure if there is anything else I can do.

Thanks in advance for your assistance.
0
kmck22
Asked:
kmck22
1 Solution
 
Ralf KlattPrincipal ConsultantCommented:
Hi,

This example should help:

"default.asp"

<%@ Language=VBScript %>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
</HEAD>
<BODY>
<%
original = setLocale("en-gb")
%>
<P><% =formatcurrency("200",2) %></P>

</BODY>
</HTML>


The important thing is to set ORIGINAL to the desired country code!

Best regards, Raisor
0
 
kmck22Author Commented:
Thanks for your help, it works perfectly.
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now