+ 2
Who can help me with this calculator?
2 Respostas
+ 2
Your problem is that it is thinking that both numbers are strings so that’s why it combines them into 2 numbers ex, 8+2 = 82. You need to convert them into a number so they will add together, ex: 8+2 = 10.
+ 1
thanks a lot, I fixed it using parseInt.