In Scratch 2.0 if you set a variable to a string then try to change the value by 1 the monitor shows NaN. Currently in Scratch 3.0 it seems to convert the string to 0 and add 1.