title: Won't convert string to decimal c# (Input string was not in a correct format.)
body: <p>Visual studio wont convert my string to decimal</p>
  
  <p>Error: Input string was not in a correct format.</p>
  
  <p>Code:</p>
  
  <pre><code>string test = "123.95";
  decimal test1 = decimal.parse(test); // string being an int "123" doesnt cause this
  </code></pre>
  
  <p>also Convert.toDecimal(test); does just the same.</p>
  
  <p>EDIT: Thanks for the answers, I was looking online for how decimals worked and everyone were using '.' and not ','.
  Sorry about how incredibly stupid I and this post is. And thanks again for the answeres :)</p>