RE: [PHP] number format

From: Date: Tue, 11 Jul 2000 05:06:30 +0000
Subject: RE: [PHP] number format
Groups: php.general 
Request: Send a blank email to php-general+get-5853@lists.php.net to get a copy of this message
I feel pretty stupid. To my defense, I have 2 php books that don't include the "number_format()" function, and I made a fairly thorough search of the php manual. Well, thanks for answering such an intelligent question! :^) -zb -----Original Message----- From: Andrei Zmievski To: Zack Beatty; 'php-general@lists.php.net' Sent: 7/11/00 7:38 PM Subject: Re: [PHP] number format At 07:17 PM 7/10/00 -0400, Zack Beatty wrote: >Is there a way to format a number with comma format (after getting a number >from a text file)? For example: > >Change 1234 into 1,234 >Change 123456 into 123,456 >Change 1234567890 into 1,234,567,890 The title of your email is the name of the function that does it. :) -Andrei

« previous php.general (#5853) next »