Radical Design Course by Jack McDade

From the creator of Statamic

Learn how to make your websites standout and be remembered.

This course is the most refreshing take on teaching design that I've come across.

— Mikaël Sévigny, Developer

divide Modifier

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) }}
{{ Statamic::modify($bacon)->divide($skillets) }}
{{ Statamic::modify($skillets)->divide(3) }}
7
1
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →