0

I want to write the short form of a = a - .10; How do I make it look like this a-- except decrements by .10

3

In general, you can shorthand like this:

replace       with this

a = a + 5;    a += 5;
a = a - .10;  a -= .10;
a = a * 7;    a *= 7;
a = a / 2;    a /= 2;

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .