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 result.
For example my double may look something like 77.987654321
, and the two strings conversions convert to to 77.98765
. I need to keep the precision of the value as is.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…