…num-expr… // …num-expr…
num1, num2 -> largest(num1, num2)
Divides two numeric values, truncating toward zero.
The result type is the largest of the operand types.
For FLOAT operands the result will still be a FLOAT, floored.
expression | evaluates to |
---|---|
10//3 | 3 |
-10//3 | -3 |
10.5//3.1 | 3 |