10 Replies Latest reply: Nov 13, 2006 3:56 PM by 807599 RSS

    Converting a character to a number

    807599
      Hello.

      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.

      Thanks.