+ 1

What's the difference bw "34" and 34

29th Jul 2017, 6:14 PM
Abhinav Anand
Abhinav Anand - avatar
3 ответов
+ 4
"34" + 2 = error, since you can add a string and int together, you probably meant "34" + "2" = "342"
29th Jul 2017, 7:05 PM
Maya
Maya - avatar
+ 1
"34" is a string and 34 is an int. "34" + 2 = 342 While 34 + 2 = 36
29th Jul 2017, 6:16 PM
Αητοιπe
Αητοιπe - avatar
0
"34" is the string 34 is the integer
1st Aug 2017, 9:14 PM
scottwhitfield
scottwhitfield - avatar