A
Adam The Generic
Hi All,
i am using System.Globalization.NumberFormatInfo class
my usage is..
//--------------
NumberFormatInfo nf = new NumberFormatInfo();
nf.NumberGroupSeparator = ".";
nf.NumberDecimalSeparator = ",";
nf.NumberDecimalDigits = 2;
//---------------
it shows the decimal values which has a decimal part correctly like that
1.415,78
7.455,01
but i need to show absolute digits even if it is a whole number and has no
decimal digit..
74 should be 74,00
45.124 should be 45.124,00
how can i get this format ?
Any help would be appreciated.
i am using System.Globalization.NumberFormatInfo class
my usage is..
//--------------
NumberFormatInfo nf = new NumberFormatInfo();
nf.NumberGroupSeparator = ".";
nf.NumberDecimalSeparator = ",";
nf.NumberDecimalDigits = 2;
//---------------
it shows the decimal values which has a decimal part correctly like that
1.415,78
7.455,01
but i need to show absolute digits even if it is a whole number and has no
decimal digit..
74 should be 74,00
45.124 should be 45.124,00
how can i get this format ?
Any help would be appreciated.