I have this string \"1.79769313486232E+308\" and am trying to convert it to a .NET numeric value (double?) but am getting the below exception. I am using Convert.ToDo
Convert.ToDo
I get the same number at times. Here's how I addressed it.
var str = "1.79769313486232E+308"; var dbl = double.Parse(str.Replace("E+", ""));