Since, the 0 after the
decimal point without any number following it does not have any significance as a value
it is not available in the
double value
.
However, while representing the
double number
as a
string
it can be shown using an appropriate
Format
specifier as follows:
double value = 100;
string valueAsString = value.ToString("N1");
Console.WriteLine (valueAsString);
To show commas etc. other
Formats
given here
http://msdn.microsoft.com/en-us/library/dwhawy9k(v=vs.71).aspx[
^] can be used.