Can someone inform me on what the "-=" function does? thanks.
bwjones 0 Junior Poster in Training
Recommended Answers
Jump to PostCan someone inform me on what the "-=" function does? thanks.
It is not a function is an arithmetic operator and assignment operator short cut.
number -= x;
same as
number = number - x;
Jump to PostGee guys, are we rewriting the text book? :icon_wink:
All 5 Replies
Aia 1,977 Nearly a Posting Maven
bwjones 0 Junior Poster in Training
VernonDozier 2,218 Posting Expert Featured Poster
jephthah 1,888 Posting Maven
WaltP 2,905 Posting Sage w/ dash of thyme Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.