// 取得当前Cell的数值
Integer num = new Integer((int) cell.getNumericCellValue());
//转换为字符串
String cellvalue = String.valueOf(num);
参考:
[url]http://hi.baidu.com/%CE%E4%BA%BA%D0%A17/blog/item/fd5e68dd0406eb19485403de.html[/url]
本文介绍了一种将Excel单元格中的数值转换为字符串的方法。通过使用Java语言进行操作,可以将单元格内的数值读取并转换成字符串形式,便于进一步的数据处理及应用。
// 取得当前Cell的数值
Integer num = new Integer((int) cell.getNumericCellValue());
//转换为字符串
String cellvalue = String.valueOf(num);
1510

被折叠的 条评论
为什么被折叠?
