Hi,
This seems like a javascript question; I need to add a numerical value from a variable contained in an array.
Book01 [9] -- the number is stored here
I try to add to variable CurrentIncome += Book01[9]
The result? CurrentIncome=0.
Is this because it has converted into a string, or maybe turned CurrentIncome variable into an array? BTW, the Book01[9] array has numbers in it, I made sure.
See image for what I'm doing. Thank you!
This seems like a javascript question; I need to add a numerical value from a variable contained in an array.
Book01 [9] -- the number is stored here
I try to add to variable CurrentIncome += Book01[9]
The result? CurrentIncome=0.
Is this because it has converted into a string, or maybe turned CurrentIncome variable into an array? BTW, the Book01[9] array has numbers in it, I made sure.
See image for what I'm doing. Thank you!