Float with either comma ',' or '.'
<p>I am experiencing a problem in Asp.net using C# when converting a string to float. At a local database, it works fine with '.' notation for float values but it does not work after uploading the website to the server. I think the server only understands ',' instead of '.'</p>

<p>I remember I read this somewhere that I can add some culture Info into the web.config in order to get float understand either '.' or ','</p>

<p>And how can I change it globally for a WinForm application? </p>

<p>Thanks in advance.</p>
