[[modding:function:modulus]]. === modulus === [[modding:function:modulus]] ^ Syntax | (modulus dividend divisor) -> remainder | ^ Argument List | dividend: The dividend of the two numbers. | ^ | divisor: The divisor of the two numbers. | ^ Returns | remainder: The remainder of the two numbers passed | ^ Category | [[math functions|math]] | ^ Description | Finds the remainder of the two numbers and returns it. | === Example === (modulus 3 2) This code will return 1. (modulus 56 34) This code will return 22. (modulus 10 4) This code will return 2. IMPORTANT: This function is now named '[[modulo]]'. Please see that entry instead. Return to [[:Functions]] list