Solved

Displaying a £ sign instead of a $ sign

Posted on 2003-11-26
2
212 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
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…
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…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. 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 : Go t…

705 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