I hope this helps.

Have you thought of concatenation?

$a=spritf(however you set it up to get your decimals and comas)
$b="£".$a;

Will that not work?

Leonard.

-----Original Message-----
From: V Dub [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 9:45 PM
To: Ben Edwards
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Money format


http://php.net

search in functions for number_format

Cheers!

Quoting Ben Edwards <[EMAIL PROTECTED]>:

### I wish to format money with a £ sign, two decimal places and commas
### separating thousands. I seem to be able to do the £ and decimal places
with
###
### sprintf or use money_format to do the commas but cant find how to do
### both/combine them.
###
### any insight,
### ben
###
### ****************************************************************
### * Ben Edwards                              +44 (0)117 968 2602 *
### * Critical Site Builder    http://www.criticaldistribution.com *
### * online collaborative web authoring content management system *
### * Get alt news/views films online   http://www.cultureshop.org *
### * i-Contact Progressive Video      http://www.videonetwork.org *
### * Smashing the Corporate image       http://www.subvertise.org *
### * Bristol Indymedia               http://bristol.indymedia.org *
### * Bristol's radical news             http://www.bristle.org.uk *
### * PGP : F0CA 42B8 D56F 28AD 169B  49F3 3056 C6DB 8538 EEF8     *
### ****************************************************************
###


--
Richard Whitney
Transcend Development
Producing the next phase of your internet presence.
[EMAIL PROTECTED]
http://xend.net
602-971-2791

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to