Re: [PHP] Help with Mod mathematical function

2003-08-14 Thread Groboski, Joshua
http://us4.php.net/math The operator you want is % Eg: 5%3 = 2 <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > > > if you turn on --enable-bcmath, you can use de bcmod function > equivalen to Mod operator from visual basic > > > Un saludo, Danny > > > >

Re: [PHP] Help with Mod mathematical function

2003-08-07 Thread Jason Wong
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

Re: [PHP] Help with Mod mathematical function

2003-08-06 Thread desa15
if you turn on --enable-bcmath, you can use de bcmod function equivalen to Mod operator from visual basic Un saludo, Danny Dean Baldwi