Thanks and sorry for the stupid question... I had forgotten about that...
;-|
Thanks again,
Nicolas
-----Original Message-----
From: Aaron Ardiri <[EMAIL PROTECTED]>
To: Palm Developer Forum <[EMAIL PROTECTED]>
Date: Wednesday, March 28, 2001 3:54 AM
Subject: Re: How to get the remainder of a division
>> In mathematical terms, I believe the value of "x mod y" can be
represented
>> as "x - (x / y) * y", just make sure x and y are both integers.
>
> or... x % y? :P % is the standard modulus operator.. if you are working
> with floats or doubles.. well.. different logic.. :)
>
>// az
>[EMAIL PROTECTED]
>http://www.ardiri.com/ <--- free games!
>
>
>--
>For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/