note 18020 deleted from function.abs by irc-html
| From: | irc-html@php.net | Date: | Mon, 07 Jan 2002 20:22:09 +0000 |
| Subject: | note 18020 deleted from function.abs by irc-html | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-24507@lists.php.net to get a copy of this message | ||
To avoid confusion, abs() does not behave exactly like
$x = 0 - $x;
as noted above. With abs, whether $x is positive or negative, abs($x) will return a positive
number.