Solved

what are all the different methods to represent the pound £ English Money symbol

Posted on 2011-02-23
5
357 Views
Last Modified: 2012-05-11
what are all the different methods to represent the pound £ English Money symbol
0
Comment
Question by:rgb192
[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
  • 2
5 Comments
 
LVL 34

Accepted Solution

by:
Beverley Portlock earned 125 total points
ID: 34965262
The safest to use is the HTML entity £
0
 
LVL 3

Expert Comment

by:LFLFM
ID: 34965274
just type it up: £
example: echo "this costs £10.20)";
or use the ascii code: 156
echo "this costs " . chr(156) . "10.20";
0
 
LVL 3

Assisted Solution

by:LFLFM
LFLFM earned 125 total points
ID: 34965292
oh sorry, its ascii 163
bportlock is correct... you can use "£"
also,you can use html ascii as "£"
0
 
LVL 34

Expert Comment

by:Beverley Portlock
ID: 34965314
@LFLFM - using char 156 is OK until somebody uses a different character set either in MySQL, the browser or on their computer. That's why there is an HTML entity to represent this character that will render correctly in all situations.

0
 

Author Closing Comment

by:rgb192
ID: 34965772
thanks
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

738 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