Re: [PHP] bcmod()

2003-06-17 Thread Lars Torben Wilson
On Tue, 2003-06-17 at 11:42, Thomas Bolioli wrote: > The docs (see below) for bcmod() are rather skimpy. Does anyone have a > clue as to how it works. Basically I want to do this (below code). PS: I > am new to PHP but not to programming in general. > Tom Unless you're using arbitrary-precision

Re: [PHP] bcmod()

2003-06-17 Thread Chris Sherwood
if I read it right it looks like it returns what is the remainder as per any normal mod function so fer instance you want to get the remainder when you divide 10 by 3 (which we both know is 1) $remainder = bcmod(10,3); for example I think - Original Message - From: "Thomas Bolioli"