note 42066 deleted from language.operators.arithmetic by salathe
| From: | salathe@php.net | Date: | Mon, 21 Sep 2020 14:59:16 +0000 |
| Subject: | note 42066 deleted from language.operators.arithmetic by salathe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-215408@lists.php.net to get a copy of this message | ||
Note Submitter: info at sima-pc dot com
----
Note that operator % (modulus) works just with integers (between -214748348 and 2147483647) while
fmod() works with short and large numbers.
Modulus with non integer numbers will give unpredictable results.