"jose luis garcia" <[EMAIL PROTECTED]> wrote in message
news:49800@palm-dev-forum...
>
> Hello.
>
> How can i know the remainder (double x/double y)? .I copied the
function
> "fmod" of mathlib but I get one error in the program "fatal error".

Hmmm... how about

dividend = x / y;
remainder = x - (y * dividend);

Of course, make it more complicated if needed to deal with negative
numbers.



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to