/= Assignment Operator

The /= assignment operator divides a variable by a numeric expression and assigns it to the given variable.

Syntax

var /= num.exp

Example(s)

This divides the current value of x by 2 and assigns the result to x. It is equivalent to: x = x / 2

x /= 2

See Also

* Arithmetic Operator

*= Assignment Operator

+= Assignment Operator

- Arithmetic Operator

-= Assignment Operator

:= Assignment Operator

Arithmetic Expressions

Arithmetic Operators

Assignment

Numeric Expressions

Precedence

precision Statement

Relational Operators

sum() Function

\= Assignment Operator