title: Convert from string to int in c# Using Convert.ToInt32
body: <p>I have a simple code in c# that converts a string into int</p>
  
  <pre><code>int i = Convert.ToInt32(aTestRecord.aMecProp);
  </code></pre>
  
  <p><code>aTestRecord.aMecProp</code> is of <code>string</code>. The test I am running, during that it has values of <code>1.15</code> in <code>string</code>.</p>
  
  <p>but above line throws error saying that input string wasn't in a format!</p>
  
  <p>I don't understand why?</p>
  
  <p>I am using VS 2008 c#</p>