nopi 读取单元格判断是否是百分比格式

 NPOI.SS.UserModel.ICell pcell = sheet.GetRow(行).GetCell(列, MissingCellPolicy.CREATE_NULL_AS_BLANK);

ICellStyle icstyle = pcell.CellStyle;

if (icstyle.GetDataFormatString().EndsWith("%"))/

猜你喜欢

转载自www.cnblogs.com/yiwangcengjing/p/10044995.html