Reputation: 2832
I want to format a string with 1000's separator and also two decimal places by default
I tried this one but it's not working as it fails to append two zeros when there are no decimals
String.Format("{0:#,##0.##}", money); //I want something like 1000.23 and also 1000.00
Upvotes: 0
Views: 431