title: C# from numeric to double
body: <p>we have a value in our database that is numeric we take through the database and then we want to insert it to another value but we want it to be converted to <em>DOUBLE</em> from <em>Numeric</em></p>
  
  <p>So any ideas how can we convert our Numeric variable to double ?</p>
  
  <p><strong>edit</strong></p>
  
  <p>Database = Microsoft SQL Server Database File (SqlClient) (.mdf)</p>
  
  <pre><code>double point = 0;
  
  
  cn.Open();
  point = Convert.ToDouble("select bounty from provider where sirname = '" + globals2.stringena + "' ");
  cn.close();
  </code></pre>
  
  <p>bounty = Numeric(18,2) </p>
  
  <p>so want to pass this value to my point variable.</p>
  
  <p>The error i get is </p>
  
  <blockquote>
    <p>Input string was not in a correct format.</p>
  </blockquote>