Modifier: multiply


Multiply a value or another variable to your variable. Pass an integer or the name of a second variable as the parameter. Also supports * as shorthand.

smiles: 3
winks: 4
{{ smiles | multiply:10 }}
{{ smiles | multiply:winks }}
{{ smiles | *:winks }}

30
12
12

Additional Reading

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

Last modified on March 31, 2016