Formatting is Specified but argument is not IFormattable
- by coffeeaddict
string listOfItemPrices = items.ToSemiColonList(item = string.Format("{0:C}", item.Price.ToString()));
I am simply trying to format the price here to 2 decimal places. Ok, so the string.Format doesn't implement IFormattable? Ok not sure how to get around this so that I can format the decimal (price) here.