renderizer

Math

modulo

Divides an output by a number and returns the remainder.

{{ 12 | modulo:5 }} = 2

round

Rounds the output to the nearest integer or specified number of decimals.

{{ 4.6 | round }} = 5
{{ 4.3 | round }} = 4
{{ 4.5612 | round: 2 }} = 4.56

floor

Rounds an output down to the nearest integer.

{{ 4.6 | floor }} = 4
{{ 4.3 | floor }} = 4

ceil

Rounds an output up to the nearest integer.

{{ 4.6 | ceil }} = 5
{{ 4.3 | ceil }} = 5