modulo


modulo


Remainder. Returns the remainder after dividing the integer parameter by the filter parameter


Syntax


{{ <Parameter> | modulo: <Numerical Value> }}



Arguments

Parameter - A numerical value or name of the input parameter that will represent the dividend


Numerical Value - A numerical value that will represent the divisor


Example 1:

Input


{{ 13 | modulo: 5}}



Output


3



Example 2:

InputParameter Value


42



Input


{{ InputParameter | modulo: 8}}



Output


2