The rule is: If you add a number and a string, the result will be a string!
Example
x=5+5; y="5"+5; z="Hello"+5;
The result of x,y, and z will be:
10 55 Hello5
本文共 229 字,大约阅读时间需要 1 分钟。
The rule is: If you add a number and a string, the result will be a string!
The result of x,y, and z will be:
转载于:https://www.cnblogs.com/buhaiqing/archive/2012/12/12/2814045.html