note 44716 rejected from language.types.integer by tomsommer
| From: | tomsommer@php.net | Date: | Sat, 14 Aug 2004 01:54:22 +0000 |
| Subject: | note 44716 rejected from language.types.integer by tomsommer | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-74603@lists.php.net to get a copy of this message | ||
Note Submitter: a d m i r a l n o v i a{at}mac.com
----
Instead of saying "...always round it downwards..." in "1/2 yields the float 0.5.
You can cast the value to an integer to always round it downwards...", perhaps it should say
"round it towards zero." This is less ambiguous when discussing negative as well as
positive numbers.