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
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:
2 matches
Mail list logo