Is it possible to convert "-12.0000"
(string) to -12.0000
(double)?
Follow the code below:
var valor = "-12.0000";
var result = Convert.ToDouble(valor, CultureInfo.InvariantCulture); //-12 <--- perde zeros
Or if you prefer .NET Fiddle: link