I have an issue in my C#.NET project.
I have a variable having a double value and when I debug, I can see it preserves its double value, but in console, it gives the trimmed value.
This only happens for e.g. 1.0, not 1.2 or so.
The output in the console for 1.0 is 1 where as for others like 1.2, the output is still 1.2.
The line I am using is:
So, what am i missing?