Hi,
I have a Double Value. i am planning to display it in "0.0000" format i.e.
the decimals length is fixed i.e. 4.
I am using math.round function which is reducing the length to 4. but if the
length is just 2 digits then it is giving 2 digits only. where i want 4
digits.
Can anyone help me out. I done this functionality in visual basic but now i
want it for c#.net
Thanks in advance
Prasad Dannani
Stephany Young - 06 May 2005 01:08 GMT
string <string object> = <double object>.ToString("#0.0000");
> Hi,
>
[quoted text clipped - 12 lines]
> Thanks in advance
> Prasad Dannani