Solved

Showing British 'pound' signs in ASP.NET

Posted on 2004-04-14
3
1,220 Views
Last Modified: 2008-02-26
I'm in the UK so I want to preface currency amounts with the pound (£) sign. In Visual Studio 2003 I hardcode the £ sign into statements like 'All values are in pounds sterling (£)' but when the page is displayed they don't appear. This is weird because they show up OK in Visual Studio, and also when currency values are displayed in a datalist. Any ideas?
0
Comment
Question by:crescendo
[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
3 Comments
 
LVL 4

Accepted Solution

by:
john-at-7fff earned 125 total points
ID: 10827970
You should be able to show the pound sign in a web page with:

£

(ampersand followed by "pound" followed by a semi-colon.)
0
 
LVL 9

Author Comment

by:crescendo
ID: 10828014
That seems to do the trick! I tried &gbp; but (obviously) it didn't work.

Thanks
0
 
LVL 4

Expert Comment

by:john-at-7fff
ID: 10828646
Glad to help. By the way, I think older browsers (much older) may know a numeric version instead of the alpha sequence. The numeric code is: £

See, for instance, here:

http://super.net.pk/htmlref/characters.html

0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:   The Exchange of informatio…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

696 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