jaytea commented on a Page, Abc & Mod Identifiers  -  Nov 09, 2011

Sonny, mIRC actually supports the modulo operator but yours is slightly better in certain cases since it inadvertently obeys the traditional mathematical definition of modulo (0 <= (a % b) < b, for positive b). $mod(-7, 3) = 2 (correct) but $calc(-7 % 3) = -1.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.