Character subtraction in String
<p>Here is the code snippet i am trying to figure out whats happening</p>

<pre><code>String line = "Hello";
        for (int i = 0; i &lt; line.length(); i++) {
        char character = line.charAt(i);
        int srcX = 0;
            if (character == '.') {
            }else{
                srcX = (character - '0') * 20;

                System.out.println("Character is " + (character - '0') +"     " + srcX);
            }
        }
</code></pre>

<p>and executing that code will result to this</p>

<pre><code>Character is 24     480
Character is 53     1060
Character is 60     1200
Character is 60     1200
Character is 63     1260
</code></pre>

<p>How a character minus the string which is  "0" result in integer?? and where does the system base its answer to have 24,53,60,60,63?</p>
