Casting using a decimal in C#
<pre><code>private int FindNumber(string sPar)
   {
      // Get the last number
      int len = sPar.Length;
      string s = sPar.Substring(len-1);
      return new (int)Decimal(s);
   }
</code></pre>

<p>In this I am getting the error ; required . Can any ine help me on this.</p>

<p>Thank You!</p>
