How can I do mod without a mod operator?

Posted by tladuke on Stack Overflow See other posts from Stack Overflow or by tladuke
Published on 2010-05-03T23:54:19Z Indexed on 2010/05/03 23:58 UTC
Read the original article Hit count: 324

Filed under:

This silly scripting language doesn't have a % or Mod(). I do have a Fix() that chops off the decimal part of a number. I only need positive results, so don't get too robust.

© Stack Overflow or respective owner

Related posts about modulus