Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (5 sloc) 184 Bytes

Assignment with Divided by Equals

The /= operator divides a variable by another number.

myVar = myVar / 5;

Will divide myVar by 5. This can be rewritten as:

myVar /= 5;

Something went wrong with that request. Please try again.