I am developing a software that uses number precision, but I have this problem, it happens that when I take a string to convert to double it outputs me with a different culture.
You can set the culture for your thread with:
Thread.CurrentThread.CurrentCulture = System.Globalization.CultureInfo.InvariantCulture;