note 26128 added to language.operators.arithmetic
| From: | melkor at iquebec dot NO_SPAM dot com | Date: | Fri, 18 Oct 2002 17:53:12 +0000 |
| Subject: | note 26128 added to language.operators.arithmetic | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-38272@lists.php.net to get a copy of this message | ||
DIV
Here is a really easy way for "$a div $b":
$result=floor($a/$b);
--
http://www.php.net/manual/en/language.operators.arithmetic.php
http://master.php.net/manage/user-notes.php?action=edit+26128
http://master.php.net/manage/user-notes.php?action=delete+26128
http://master.php.net/manage/user-notes.php?action=reject+26128