cxGrid導出到Excel,對於Currency類型老是加上了貨幣符號,能夠修改導出文件設置來去掉:ide
在cxXLSExport.pas文件中,修改:spa
procedure TcxXLSExportProvider.SetCellDataCurrency(const ACol, ARow: Integer; const AValue: Currency); begin if xlsCheckPos(ACol, ARow) then //FCells.SetCellDataCurrency(ACol, ARow, AValue); FCells.SetCellDataDouble(ACol, ARow, AValue); end;