previous
|
start
|
next
Arithmetic Operations
Operators:
+
-
*
10 + n
n - 1
10 * n // 10 × n
As in mathematics, the
*
operator binds more strongly than the
+
operator
x + y * 2 // means the sum of x and y * 2
(x + y) * 2 // multiplies the sum of x and y with 2
previous
|
start
|
next