From d66fbd218bfccf83b42448febd4f255883d726a5 Mon Sep 17 00:00:00 2001 From: pkoppstein Date: Tue, 4 Aug 2015 21:40:16 -0400 Subject: Clarify documentation of STRING * INTEGER --- docs/content/3.manual/manual.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/content/3.manual/manual.yml b/docs/content/3.manual/manual.yml index 5c1bd551..f69f5f9c 100644 --- a/docs/content/3.manual/manual.yml +++ b/docs/content/3.manual/manual.yml @@ -612,13 +612,14 @@ sections: - title: Multiplication, division, modulo - `*`, `/`, and `%` body: | - These operators only work on numbers, and do the expected. + These infix operators behave as expected when given two numbers. + Division by zero raises an error. `x % y` computes x modulo y. Multiplying a string by a number produces the concatenation of - that string that many times. + that string that many times. `"x" * 0` produces **null**. Dividing a string by another splits the first using the second - as separators. Division by zero raises an error. + as separators. Multiplying two objects will merge them recursively: this works like addition but if both objects contain a value for the -- cgit v1.2.3