php mod id not giving correct result
<p>i am working on a code where  want to get the mod of a number but it gives me wrong result because when i do the same process on a calculator it give me ans. 58 for specific number mentioned below but when i do the same process through code it gives me 65. what could be the problem</p>

<pre><code>&lt;body&gt;
&lt;?php 
if(isset($_POST['submit']))
{
    $a = $_POST['area_code'];
    $b = $_POST['number1'];
    $c = $_POST['number2'];
    $apnd_right = 252000;
    $apnd_left  = 28221428; 
    $res =  $apnd_left.str_pad($a, 4    , 0, STR_PAD_LEFT);
    $res .= str_pad($b, 8   , 0, STR_PAD_LEFT);
    $res .= str_pad($c, 4   , 0, STR_PAD_LEFT).$apnd_right;
    echo $kk  = $res; //282214281001000455000071252000
    $kl = 97;
        echo ($kk % $kl);
    }
 ?&gt;
 &lt;form method="post" action=""&gt;
&lt;div&gt;&lt;strong&gt;Account Number:&lt;/strong&gt;&lt;/div&gt;
&lt;input type="text" name="area_code" id="area_code" maxlength="4" size="3" /&gt; -
&lt;input type="text" name="number1" id="number1" maxlength="8" size="8" /&gt; -
&lt;input type="text" name="number2" id="number2" maxlength="4" size="3" /&gt;
&lt;input type="submit" name="submit"  value="Enter" /&gt;
&lt;/form&gt;

&lt;/body&gt;
</code></pre>
