Solved

Displaying a £ sign instead of a $ sign

Posted on 2003-11-26
2
180 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
Comment Utility
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
Comment Utility
Thanks for your help, it works perfectly.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Turn A Profile Picture Into A Cartoon Using Photoshop And Illustrator This tutorial will teach you how to make a cartoon style image out of a regular picture. I have tried to keep the tutorial as simple as possible. I used Adobe CS4 for this tuto…
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.
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 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…

744 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

15 Experts available now in Live!

Get 1:1 Help Now