Solved

Displaying a £ sign instead of a $ sign

Posted on 2003-11-26
2
196 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
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 manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
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…

813 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now