#number being doubled when saved
5 messages · Page 1 of 1 (latest)
Documentation suggestion for @tired heron:
Addition assignment (+=)
The addition assignment (+=) operator performs addition (which is either numeric addition or string concatenation) on the two operands and assigns the result to the left operand.
x += yis equivalent tox = x + y, except that the expressionxis only evaluated once.
for it doubling the number, no idea