Mod – XpressDox

Mod is used to get the remainder when dividing one number by another. It is typically used to divide sets of items into odd and even, or in a Rule.

For example:

«ForEach(Parent)»
«Name»
«End()»
«Rule(Parent,hard,(count(Parent) mod 2) = 0,'Please enter an even number of parents.')»