Re: [PHP] Help w/ sprintf

2001-03-03 Thread Philip Olson
consider using number_format, for example : $formatted_number = number_format(1250560, 2); // 1,250,560.00 $formatted_number = number_format(1250560);// 1,250,560 regards, Philip Olson http://www.cornado.com/ On Sat, 3 Mar 2001, Anthony Rodriguez wrote: > What are the directives fo

Re: [PHP] Help w/ sprintf

2001-03-03 Thread mailing_list
> What are the directives for the sprintf function to format an integer with > > commas (e.g.: 1,250,560)? you don't mean commas but thousands' grouping??? if you want thousands' grouping it depends on your locale setting! --cut-- For some numeric conversion a radic character (`decimal po

[PHP] Help w/ sprintf

2001-03-03 Thread Anthony Rodriguez
What are the directives for the sprintf function to format an integer with commas (e.g.: 1,250,560)? Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mai