mod, %
Modulo: remainder of integer division of values on first expression by values on second expression
Result = expression1 mod expression2 # pcrcalc
Result = expression1 % expression2 # python
For each cell, the value on expression1 is divided (integer division) by the value on expression2. This remainder of this integer division is assigned to the corresponding cell on Result.
A cell with 0 on expression2 is assigned a missing value on Result. A cell with missing value on expression1 and/or expression2 is assigned a missing value on Result.
This operation belongs to the group of Arithmetic operators
Result.map |
Expr1.map |
Expr2.map |
![]() |
![]() |
![]() |