(char)65 ... converting characters to integers
Hey guys... first let me preface this by saying I am a total beginner (currently reading Java for dummies) anyways, what I am trying to do is make a simple program that can convert a letter, such as the letter A into its decimal value. I figured out that if I type (char)65 it returns an A which is great, but I can't figure out how to get the exact opposite of that.. that is, converting a letter into its decimal value. I tried (int)A (don't laugh lol) but that didn't work. Any help would be appreciated!