10 Replies Latest reply on Nov 13, 2006 9:56 PM by 807599

    Converting a character to a number


      How can I convert a char into a number?
      A => 1
      B => 2
      C => 3 and so on...

      I know I can do this with using switch or if statement, but Im wondering if there is a better way for this.