I created a simple program that make the sum of two numbers BUT.. the program is concatenating instead, This is so confusing! Can anyone help?
It's just because value returns with string. So sum operation ends with concatenation. you need to convert both those values.
user below code
var sum = parseFloat(numberOne) + parseFloat(numberTwo);