Learn

% (Modulus)

Get the remainder of a modulus calculation.

Get the modulus value of a variable’s value split by a numeric dividing value.

Sample Usage

{{ people|%:8 }}

This will output the modulus value of people after being divided by 8.

Parameters

This modifier expects one parameter, the number to divide your variable by.

This article was last updated on March 30th, 2016. Find an error? Please let us know!