The div function returns the value of the first argument divided by each of the subsequent arguments. Each of its arguments should be a numeric expression. Each argument is automatically converted to an integer and integer division is performed. This function returns an integer.
Syntax
(div <numeric-expression> <numeric-expression>+)
Example
CLIPS> (div 4 2) 2 CLIPS> (div 5 2) 2 CLIPS> (div 33 2 3 5) 1 CLIPS>