More math fun

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



abs($balanceTest) = 15.22
abs($oldLineArray[16]) = 15.22

$diff = abs($balanceTest) - abs($oldLineArray[16]);
echo abs($diff) . "\n";

1.7763568394E-15

WTF? This should be a big fat 0

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux