Re: printf
| From: | Ron Allen | Date: | Wed, 10 Apr 2002 12:33:07 +0000 |
| Subject: | Re: printf | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-92378@lists.php.net to get a copy of this message | ||
figured that out as well
You need to put the number_format($number,2) afterwards....
Thanks to both you!
"Ron Allen" <allenr@fwd.areur.army.mil> wrote in message
news:20020410114224.90507.qmail@pb1.pair.com...
> I am looking at how to format output
>
> Here is what I have. There is a simple currency conversion that I do and
> the output is just a string of numbers
> I would like it so that it puts a comma for every 3 spaces.......Any
> clues......oh knowing newsgroup!!!!
>
>