operand1 / operand2
If operand1 and operand2 both result in numbers, the expression results in operand1 divided by operand2. Otherwise it results in Undefined.
For example:
4 / 2 = 2 3 / 2 = 1.5 2 / 0.5 = 4 0.5 / 2 = 0.25 0.5 / 0.5 = 1 0.25 / 0.5 = 0.5
Integer division is performed by the predefined function div. See also mod.