?
Solved

Showing British 'pound' signs in ASP.NET

Posted on 2004-04-14
3
Medium Priority
?
1,223 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 500 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

649 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