C#: how to explicitly set culture for Double.Parse(string num)

Posted by Nike on Stack Overflow See other posts from Stack Overflow or by Nike
Published on 2010-04-22T15:50:57Z Indexed on 2010/04/22 15:53 UTC
Read the original article Hit count: 272

Filed under:
|
|

I download one program that read file and then parse double values from String to Double. But I get an exception because this file contains numbers with '.' separator, but there is ',' in my culture. How can I set culture explicitly?

© Stack Overflow or respective owner

Related posts about c#

Related posts about culture