Solved

Displaying a £ sign instead of a $ sign

Posted on 2003-11-26
2
200 Views
Last Modified: 2013-12-24
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
Comment
Question by:kmck22
2 Comments
 
LVL 15

Accepted Solution

by:
Raisor earned 150 total points
ID: 9846091
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
 

Author Comment

by:kmck22
ID: 9849057
Thanks for your help, it works perfectly.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question