Re: Math Weirdness
| From: | Daniel Brown | Date: | Mon, 14 Jul 2008 20:05:08 +0000 |
| Subject: | Re: Math Weirdness | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-276786@lists.php.net to get a copy of this message | ||
On Mon, Jul 14, 2008 at 4:00 PM, Alex Chamberlain
<php@alexchamberlain.co.uk> wrote:
>
> Surely, for difference,
> $totChargeDiff = abs($endingBal - $totalCharges);
Yes, in live code. I gave my example to illustrate my point, not
to be used in code. I believe Jay would understand that.
--
</Daniel P. Brown>
Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just
$59.99/mo. with no contract!
Dedicated servers, VPS, and hosting from $2.50/mo.