RE: [PHP] Rounding to strange results

2001-03-06 Thread Johnson, Kirk
Is there a comma in one thousand, e.g., 1,000.00? round() will truncate everything to the right of a comma. Kirk -Original Message- From: Martin E. Koss [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 06, 2001 7:45 AM To: [EMAIL PROTECTED] Subject: [PHP] Rounding to strange results

RE: [PHP] Rounding to strange results

2001-03-06 Thread Rick St Jean
You can write a function that get the %(mod) of 1000 then subtracts it from the number. Rick At 08:43 AM 3/6/01 -0700, Johnson, Kirk wrote: Is there a comma in one thousand, e.g., 1,000.00? round() will truncate everything to the right of a comma. Kirk -Original Message- From: