Re: Digit Grouping Function
| From: | Julio Nobrega Trabalhando | Date: | Thu, 29 Nov 2001 11:58:22 +0000 |
| Subject: | Re: Digit Grouping Function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-76013@lists.php.net to get a copy of this message | ||
Function number_format(); should do the trick for you, maybe with the help
from str_replace('commas' for 'dots');
--
Julio Nobrega
No matter where you go, &this.
"Sascha Ragtschaa" <Ragtschaa@pepper-technologies.de> wrote in message
news:7208FD7EEEE3D511B7040050BF68EF1E027A09@MUCMAIL...
> Hi,
>
> I have a small question? Does anyone know (or has written) a function
about
> "digit grouping symbols", that means:
> when I have a value of 1000, it should print out like this: 1.000
> The same when I have a value of 1000000, it should give 1.000.000
>
> Does anyone know how to do it? Thanks in advance...
>
> Sascha
>