From 64bf39cebcd597711b7e4de556e12ad662eb94dc Mon Sep 17 00:00:00 2001 From: Ross Allen Date: Fri, 6 Feb 2015 23:26:50 -0800 Subject: [PATCH] Note that `divided_by` is integer division --- Liquid for Designers.md => Liquid-for-Designers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename Liquid for Designers.md => Liquid-for-Designers.md (95%) diff --git a/Liquid for Designers.md b/Liquid-for-Designers.md similarity index 95% rename from Liquid for Designers.md rename to Liquid-for-Designers.md index 919e198..46c6456 100644 --- a/Liquid for Designers.md +++ b/Liquid-for-Designers.md @@ -67,7 +67,7 @@ Hello {{ 'now' | date: "%Y %h" }} * `minus` - subtraction *e.g.* `{{ 4 | minus:2 }} #=> 2` * `plus` - addition *e.g.* `{{ '1' | plus:'1' }} #=> '11'`, `{{ 1 | plus:1 }} #=> 2` * `times` - multiplication *e.g* `{{ 5 | times:4 }} #=> 20` -* `divided_by` - division *e.g.* `{{ 10 | divided_by:2 }} #=> 5` +* `divided_by` - integer division *e.g.* `{{ 10 | divided_by:3 }} #=> 3` * `split` - split a string on a matching pattern *e.g.* `{{ "a~b" | split:"~" }} #=> ['a','b']` * `modulo` - remainder, *e.g.* `{{ 3 | modulo:2 }} #=> 1`