note 36962 added to language.operators.arithmetic
| From: | darnell at uga dot edu | Date: | Wed, 29 Oct 2003 00:57:11 +0000 |
| Subject: | note 36962 added to language.operators.arithmetic | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-59449@lists.php.net to get a copy of this message | ||
Also, when automatically converting floats to integers, PHP truncates them rather than rounding. So
in the previous note, 2.4 gets truncated to 2 before the modulus operator is applied.
----
Manual Page -- http://www.php.net/manual/en/language.operators.arithmetic.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+36962
Delete -- http://master.php.net/manage/user-notes.php?action=delete+36962&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+36962&report=yes
Search -- http://master.php.net/manage/user-notes.php