LabelCell to NumberCell
Is it possible to convert jxl LabelCell to jxl Numb开发者_运维问答erCell somehow?
If you have a labelCell
, you can try the following snippet to create a NumberCell
:
NumberCell numberCell = new Number(labelCell.getColumn(),
labelCell.getRow(),
Double.parseDouble(labelCell.getContents()));
精彩评论