Radical Design Course by Jack McDade

From the creator of Statamic

Learn how to make your websites standout and be remembered.

For a software dev like me who has no idea how to create a cute hand-drawn dashed line, this course just 100% works.

— Ira Zayats, Developer

multiply Modifier

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) }}
{{ Statamic::modify($smiles)->multiply(10) }}
{{ Statamic::modify($smiles)->multiply($winks) }}
30
12
12
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →