note 94880 added to function.abs
| From: | Anonymous at osu1 dot php dot net | Date: | Mon, 30 Nov 2009 19:47:24 +0000 |
| Subject: | note 94880 added to function.abs | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-163426@lists.php.net to get a copy of this message | ||
I don't think the function is necessary,
To make positives to negative and negatives to positive you could just use:
$x = (-1) * $x
----
Server IP: 69.147.83.197
Probable Submitter: 200.75.95.222
----
Manual Page -- http://www.php.net/manual/en/function.abs.php
Edit -- https://master.php.net/note/edit/94880
Del: integrated -- https://master.php.net/note/delete/94880/integrated
Del: useless -- https://master.php.net/note/delete/94880/useless
Del: bad code -- https://master.php.net/note/delete/94880/bad+code
Del: spam -- https://master.php.net/note/delete/94880/spam
Del: non-english -- https://master.php.net/note/delete/94880/non-english
Del: in docs -- https://master.php.net/note/delete/94880/in+docs
Del: other reasons-- https://master.php.net/note/delete/94880
Reject -- https://master.php.net/note/reject/94880
Search -- https://master.php.net/manage/user-notes.php