Help with Mod mathematical function
| From: | Dean Baldwin | Date: | Wed, 06 Aug 2003 10:19:38 +0000 |
| Subject: | Help with Mod mathematical function | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-158443@lists.php.net to get a copy of this message | ||
Hi,
I am porting a vb application across to php but have come up against a small
problem. The code uses the Mod calculation however I cannot find any Mod in
php. The line of code that uses it looks like:
Data = (index Mod 16)
Anybody have any ideas how I recreate this in php? Both data and index are
integers.
Regards,
Dean