I read a value (in this case 7
) from a Google Spreadsheet with a script, increase that value using source++
and write the increment back to the spreadsheet.
I expect a series of 7
, 8
, 9
, 10
.
Instead, I get 7
, 800 000 000 000
, 900 000 000 000
, 100 000 000 000
.
(Please note the 900 billion to 100 billion “increase.”)
source = (source+1)
behaves identical.
What's going on here?
MWE: https://docs.google.com/spreadsheets/d/1I98atMSUqwsEpt_EMjbHm1sdWQg5Bgn8ABsEz-2E2wE/edit?usp=sharing