On Saturday 07 June 2008 12:07:00 Gordon Stewart wrote:
> http://nz.php.net/manual/en/ref.math.php
>
> Hi

Hi.

>
> Problem :-
>
> Easy :- i start off with the number 17, & I want to divide it by 5, &
> find the remander (whole number)

There should be a function for it. There's an operator for the job. The 
operator is %. It returns the reminder of division.
example

17%5 will give 2
20%5 will give 0

and like that.

use $a%$b

regards
mmlado

Reply via email to