This may be a really dumb question but why does a > b
equal false
?
Why is "a" less than "b"? Is it because "a" is 1, "b" is 2, "c" is 3 and so on?
Asked
Active
Viewed 74 times
2

rmaddy
- 314,917
- 42
- 532
- 579

Sidney Vogel
- 61
- 7
-
[ASCII](http://www.asciitable.com/). – Lazar Ljubenović Aug 31 '17 at 21:10
-
2The "<" can be used to mean "comes before", as in *a* comes before *b* in the alphabet. You need to be careful though, as uppercase letters come before lowercase letters in ASCII, so "Z" < "a". – Andrew Morton Aug 31 '17 at 21:17
-
2@AndrewMorton It's not ASCII, it's Unicode. – rmaddy Aug 31 '17 at 21:22
-
Awesome, that clears it, thank you very much for your help – Sidney Vogel Aug 31 '17 at 21:23