title: C# float.tryparse for French Culture
body: <p>I have a user input which can contain float values ranging from  : 3.06 OR 3,06
  The culture we are in is French and thus when the user inputs 3.06 and I run a float.tryParse over this value it does not get converted to 3.06 into a new variable (type float)</p>
  
  <pre><code>// inputUsedAmount.Value from UI is : 3.06
  float usedAmount = 0.0f;
  float.TryParse(inputUsedAmount.Value, out usedAmount);
  // returns false
  </code></pre>
  
  <p>I can simply do a replace on the amount entered from UI from "." to ",", but is there a graceful/better way of doing this through Culture ?
  Thanks</p>