On a Windows PC in Japan, this line of C# throws a format exception:
double d = double.Parse("NaN");
This line executes fine on my PC in the U.S.
Don’t know where to begin troubleshooting this one. Any thoughts?
Thanks in advance,
Jim
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I see what the problem is. Try using the invariant format provider.