C# How to calculate first 10 numbers out a bill number of 12?
<p>Lets assume i have a bill number that has 12 numbers: 823 45678912</p>

<p>My question is how exactly do i do calculations with the first 10 numbers?</p>

<p>To verify if a given in billnumber is correct i have to perform the following calculation:</p>

<pre><code>(first 10 numbers) % 97 = result
</code></pre>

<p>And if the result of the calculation  is the same as the last 2 numbers of my bill number, then it is verified.</p>

<p>Thanks in advance.</p>
