Modifier: divide


Divide a value or another variable by your variable. Pass an integer or the name of a second variable as the parameter.

bacon: 21
skillets: 3
{{ bacon divide="skillets" }}
{{ skillets divide="3" }}
7
1

Additional Reading

Learn how to use and chain modifiers in the Antlers template guide.

Last modified on March 31, 2016