Thread: remainder
View Single Post
# 1 21-06-2004 , 06:41 PM
Dann's Avatar
Registered User
Join Date: Feb 2003
Location: Los Angeles
Posts: 695

remainder

I once did a mel function that basically looked for the remainder after dividing one number by another.

Example:

if ( $X remainder 5 == 0)
{ blah blah blah}

This says that if x/5 has a raimder of 0, then execute blah blah blah.

The problem is, I cannot remember what to put in place of where I've written the word remainder, and I cannot find it in the docs again. Anyone recall this command?

Thanks,
-dann