total += nValue;

so would that mean that whatever the total is it will be added towards nValue, or is something being incremented?

Thanks

Recommended Answers

It means

total = total + nValue;
Jump to Post

All 2 Replies

It means

total = total + nValue;
Also you can have
total = total * nValue // total *= nValue
total = total / nValue  // total /= nValue
total = total - nValue  // toatl -= nValue
Some time you can Also have something like thing 
total *= 0.05M; // total = total * 0.05, Note the present of M.
Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.