This documentation is archived and is not being maintained.
Modulus Assignment Operator (%=)
Visual Studio 2010
Divides the value of a variable by the value of an expression, and assigns the remainder to the variable.
result %= expression
Show: