How do I prevent my double value from being rounded when converting to a string? I have tried both Convert.ToString and ToString() with the same r
Convert.ToString
ToString()
Try something like
myDouble.ToString("R")
See also The Round-trip ("R") Format Specifier:
The round-trip ("R") format specifier guarantees that a numeric value that is converted to a string will be parsed back into the same numeric value.