What's so radically different between 8
and "8"
?
8
is a number, whereas "8"
is a string8
can be used with many more operators"8"
has a further meaningBingo! "8"
is a string. 8
is a number, and can be used in mathematical calculations. Strings have no further meaning.
Oh no! "8"
is a string. 8
is a number, and can be used in mathematical calculations. Strings have no further meaning.