Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以以某种方式将 jxl LabelCell 转换为 jxl NumberCell ?
如果你有一个labelCell,你可以尝试下面的代码片段来创建一个NumberCell:
labelCell
NumberCell
NumberCell numberCell = new Number(labelCell.getColumn(), labelCell.getRow(), Double.parseDouble(labelCell.getContents()));