开发者

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()));
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜