> 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/

Reply via email to