var Height= (rowData.length * 30) + PPPP.top + 10 ;
When i print this i get 9013510… instead of 90 +135+10 = 235. Why does mine turns into concatentaion instead of Addition.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It’s probably treating one of the values incorrectly as a string. Try using parseInt and see if that works: