note 21539 added to language.operators.arithmetic
| From: | cavey@php.net | Date: | Thu, 16 May 2002 13:04:09 +0000 |
| Subject: | note 21539 added to language.operators.arithmetic | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-30714@lists.php.net to get a copy of this message | ||
If you would like to have a div complementing the % mod function, you could use something like this:
$new = (int)($foo / $bar).
This should give you the correct number.
--
http://www.php.net/manual/en/language.operators.arithmetic.php
http://master.php.net/manage/user-notes.php?action=edit+21539
http://master.php.net/manage/user-notes.php?action=delete+21539
http://master.php.net/manage/user-notes.php?action=reject+21539