Gregory Lypny wrote/ schreef:

> Hi Everyone,
> 
> Just confirming that MC does not have a mod function.  Right?  So,
> I would use something like
> 
> 5/2 - trunc(5/2) = 0.5
No, it *has* a mod function, but 'mod' is not a function but an oparator:

  put 5 mod 2 --> 1
  put 6 mod 2 --> 0

> Greg
Regards, / Groeten,
Sjoerd


Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to