[PHP-DB] commas

2003-07-17 Thread Chris Mach
Is there a function that will strip or add commas? I'm trying to do calculations with attendance numbers of football games... for example: 33,153 right now I don't have a comma for the numbers in the database. So the above example is 33153 in my database. If I put the comma in, when I try to do

RE: [PHP-DB] commas

2003-07-17 Thread Gary . Every
To: [EMAIL PROTECTED] Subject: [PHP-DB] commas Is there a function that will strip or add commas? I'm trying to do calculations with attendance numbers of football games... for example: 33,153 right now I don't have a comma for the numbers in the database. So the above example

RE: [PHP-DB] commas

2003-07-17 Thread Edward Peloke
format_number() should do what you want http://us3.php.net/manual/en/function.number-format.php Eddie -Original Message- From: Chris Mach [mailto:[EMAIL PROTECTED] Sent: Thursday, July 17, 2003 8:43 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] commas Is there a function that will strip

RE: [PHP-DB] commas

2003-07-17 Thread Edward Peloke
sorry, I am a backwards today...number_format() -Original Message- From: Edward Peloke [mailto:[EMAIL PROTECTED] Sent: Thursday, July 17, 2003 9:01 AM To: Chris Mach; [EMAIL PROTECTED] Subject: RE: [PHP-DB] commas format_number() should do what you want http://us3.php.net/manual/en