I would like a String.Formatdecimal number, so that it contains both thousands of separators and forced decimal numbers (3).
For instance:
Input:
123456,12
78545,8
Conclusion:
123.456,120
78.545,800
I tried
String.Format("{0:0.0,000}", input);
but it gives only thousands of separators, but not the power of decimal places.
source
share