Saturday, February 21, 2009

前一篇写的真2

If you compare an integer with a string, the string is converted to a number. If you compare two numerical strings, they are compared as integers. These rules also apply to the switch statement.

/language.operators.comparison.html

No comments:

Post a Comment