note 13856 added to function.abs.php

From: Date: Fri, 06 Jul 2001 14:41:26 +0000
Subject: note 13856 added to function.abs.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-15041@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. http://www.php.net/manual/en/function.abs.php

« previous php.notes (#15041) next »