开发者

LabelCell to NumberCell

开发者 https://www.devze.com 2023-01-20 09:55 出处:网络
Is it possible to convert jxl LabelCell tojxl Numb开发者_运维问答erCell somehow?If you have a labelCell, you can try the following snippet to create a 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

精彩评论

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