I need to format any decimal value so that it is right aligned, thousands
It is good to show the info in the format the user prefers.
That is language/locale speciffic (CultureInfo in the .NET lingo)
So you should use something like ToString("N")
If you are sure you want 2 digits after decimal separator, then use "N2"
--
Mihai Nita [Microsoft MVP, Visual C++]
------------------------------------------
Replace _year_ with _ to get the real email
are separated and shows 2 decimal places always.
That is language/locale speciffic (CultureInfo in the .NET lingo)
So you should use something like ToString("N")
If you are sure you want 2 digits after decimal separator, then use "N2"
--
Mihai Nita [Microsoft MVP, Visual C++]
------------------------------------------
Replace _year_ with _ to get the real email
Comment