modulo - Liquid Filter Reference - 0.11.2

Filter Name modulo
Group Numbers
Version 0.11.2

Description

Returns the remainder of a division operation.

Examples

{{ 3 | modulo: 2 }}
1
{{ 24 | modulo: 7 }}
3
{{ 183.357 | modulo: 12 }}
3.357

Back to Filter List

Back to Liquid Reference for 0.11.2

 

 
Back to Documentation