Convert.ToDouble() throws an error if the machine default culture is not en-US Fixed with : `System.Threading.Thread.CurrentThread.CurrentCulture = CultureInfo.GetCultureInfo("en-US");`