title: Convert number in textbox to float C#
body: <p>I have textbox that accept numbers. Those numbers will be saved in database.
  When I enter number like 2,35 and convert to float and send to database I get error because database accept only number with dot, e.g. 2.35</p>
  
  <pre><code>float num = float.Parse(textBox1.Text);
  </code></pre>
  
  <p>num is still 2,25</p>
  
  <p>How to manage that? I've tried with <code>CultureInfo.InvariantCulture</code> but I never get what I want</p>