note 34828 added to function.abs

From: Date: Thu, 07 Aug 2003 21:08:59 +0000
Subject: note 34828 added to function.abs
Groups: php.notes 
Request: Send a blank email to php-notes+get-53598@lists.php.net to get a copy of this message
I am just a novice computer user, but every tutorial I've come across always says that the absolute value is just to give a pos. number or zero. If you are a technical computer geek (like me), then you might be interested to know that in math abs is the undirected distance from zero. No matter how much ahead, or how much behind. Think of the numbers 7 and -7. 7 is 7 units ahead of zero, and -7 is 7 units behind zero. Therefore, the abs of these two numbers is 7. Also there is zero. Zero is 0 units from zero, so the abs of zero is zero. Just a thought, Joe :) ---- Manual Page -- http://www.php.net/manual/en/function.abs.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34828 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34828&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34828&report=yes

« previous php.notes (#53598) next »