Jump to content

money_format how to have £ rather than GBP


BCAV_WEB

Recommended Posts

Hi anyone have any idea how to get the money_format to show the pound symbol rather than the letters GBP.

 

This is the coding I have so far.

 

[

setlocale(LC_MONETARY, 'en_GB');

$fmt = '%i';

echo money_format($fmt, 1000 );

]

 

This displays GBP 1,000.00

 

What am I missing or are you not capable of making the £ symbol appear.

 

Thoughts please

mmm... I did think about putting the figures in the number format rather than money and then simply put the html coding £ but I was hoping for a proper soultion rather than a work around  :( I know that you can have the $ sign, but why not £ or even the euro symbol (I forgot the keyboard shortcut  :P

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.