Name | -= (subtract assign) |
||||
---|---|---|---|---|---|
Examples |
a = 50 b = 23 a -= b # Sets 'a' to 27 | ||||
Description | Combines subtraction with assignment. The expression a -= b is equivalent to a = a - b. | ||||
Syntax | value1 -= value2 | ||||
Parameters |
| ||||
Related |
+= (add assign) - (minus) |
Updated on Mon Sep 21 15:53:25 2020.
If you see any errors or have comments, please let us know.

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License