title: ToDecimal Regional / Culture problems
body: <p>I'm receiving from the Oracle database the following value (as varchar): <code>7876,72</code>
  In Visual Studio it's read as a <code>String</code></p>
  
  <p><strong>CASE 1 (expected case):</strong></p>
  
  <p>When I'm debuggin I see: <code>7876.72</code> and when I try to <code>Convert.ToDecimal("7876.72")</code> I'm getting <code>7876.72D</code></p>
  
  <p><strong>CASE 2 (wrong case):</strong></p>
  
  <p>When I'm debuggin I see: <code>7876,72</code> and when I try to <code>Convert.ToDecimal("7876,72")</code> I'm getting <code>787672D</code></p>
  
  <p>I'm checking the <code>CultureInfo.CurrentCulture</code> and <code>RegionInfo.CurrentRegion</code> and it's the same on both machines...</p>
  
  <p>The main reason of this is because:</p>
  
  <p><code>Convert.ToDecimal("7876,72").ToString("0,0.00", CultureInfo.InvariantCulture)</code> gives me: <code>787,672.00</code> and it should be <code>7,876.72</code>.</p>
  
  <p><strong>Global.asax - Application_Start</strong></p>
  
  <pre><code>Dim newCulture As CultureInfo = DirectCast(System.Threading.Thread.CurrentThread.CurrentCulture.Clone(), CultureInfo)
  newCulture.DateTimeFormat.ShortDatePattern = "yyyy/MM/dd"
  newCulture.DateTimeFormat.DateSeparator = "/"
  newCulture.NumberFormat.CurrencyDecimalSeparator = "."
  newCulture.NumberFormat.NumberDecimalSeparator = "."
  Thread.CurrentThread.CurrentCulture = newCulture
  </code></pre>
  
  <p>Any ideas on how to keep the same value on both machines?</p>
  
  <p>Thanks in advance!</p>