note 13856 deleted from function.abs by irc-html
| From: | irc-html@php.net | Date: | Mon, 07 Jan 2002 20:21:44 +0000 |
| Subject: | note 13856 deleted from function.abs by irc-html | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-24506@lists.php.net to get a copy of this message | ||
If coming into the problem of turning a negative number into the postive value rather than
doing:<br>
$x=-365;<br>
$x = 0 - $x; (etc etc.)<br>
Just doing abs($x); would return 365.