RE: [PHP] Calculating if number is multiple of another number
| From: | Martin Towell | Date: | Thu, 03 Jul 2003 01:09:02 +0000 |
| Subject: | RE: [PHP] Calculating if number is multiple of another number | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-153810@lists.php.net to get a copy of this message | ||
($spacer % $number == 0)
Martin
-----Original Message-----
From: jwulff [mailto:johnw@orcasnet.com]
Sent: Thursday, 3 July 2003 11:04 AM
To: php-general@lists.php.net
Subject: [PHP] Calculating if number is multiple of another number
How would I calculate if a $number is a multiple of $spacer?