string listOfItemPrices = items.ToSemiColonList(item => string.Format("{0:C}", item.Price.ToString()));
Sto semplicemente cercando di formattare il prezzo qui a 2 cifre decimali. Ok, quindi string.Format non implementa IFormattable? Ok, non sono sicuro di come aggirare questo in modo da poter formattare il decimale (prezzo) qui.La formattazione è specificata ma l'argomento non è IFormattable
sto ottenendo lo stesso con: inFile.setINVQueryDept (string.Format ("{0: # 0.00}", frmCentral.startDept), string.Format ("{0: 0.00} #", frmCentral.endDept)); –