c# tostring format double code example
Example: c# convert double to string
Double result = "12345.6789";
// outputs 12345.6789
print(result.ToString("r"));
Double result = "12345.6789";
// outputs 12345.6789
print(result.ToString("r"));