So I've got a variable expireint which I have used in previous functions and has a value of 20200210. In a new function I am trying to edit this var by adding 300 . It's entering with the correct value. My code for this is currently: expireint += 300; When I debug it my expireint variable is equal to 20200402 Why is it adding 192 instead of 300?
var expireint; // declared globally
expireint = 20200210 //This isn't how it's created but it's how it ends up
if(code == "13HG65"){ // if code = 3 months
expireint += 0300;