Re: Help with Mod mathematical function
| From: | Jason Wong | Date: | Wed, 06 Aug 2003 10:24:42 +0000 |
| Subject: | Re: Help with Mod mathematical function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-158445@lists.php.net to get a copy of this message | ||
On Wednesday 06 August 2003 18:19, Dean Baldwin wrote:
> 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.
manual > Operators
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Putt's Law:
Technology is dominated by two types of people:
Those who understand what they do not manage.
Those who manage what they do not understand.
*/