Note: information on this page refers to Ceylon 1.0, not to the current release.
/= (divide assign) operator
The right associative, binary infix
/= operator divides it's left-hand operand by
the amount given by its right-hand operand.
variable Float num = 1.0; num /= 2.0; // half num
/= operator is defined as follows
lhs = lhs.divided(rhs)
lhs is evaluated only once.
See the language specification for more details.
The result type of the
/= operator is the same as the type of its right hand operand.