I have the following:
string value = "9223372036854775807"; double parsedVal = double.Parse(value, CultureInfo.InvariantCulture);
... and the result is 9.2233720368547758E+18 , which is not exactly the same number. How to convert string to double without loss of precision?
source share