转换一下格式就OK了
import java.text.DecimalFormat;
import org.apache.poi.ss.usermodel.Cell;
DecimalFormat df = new DecimalFormat("#");
String s = df.format(cell.getNumericCellValue());
🐞标题:Java使用POI 读取 Excel 文件内容,获取到手机号码变为类似 1.8876767688E10
👽作者:ruige
🐾地址:https://jjdhhc.com/articles/2020/11/07/1604721893792.html
🙏感恩:谢谢您的打赏与支持!中间图片是我的微信公众号,扫码关注哦!
![支付宝支付](https://b3logfile.com/file/2021/08/weixin-6fe4eabb.png)
![微信公众号](https://b3logfile.com/file/2022/01/qrcode_for_gh_82893efd6f36_258-cf739db4.jpg)
![微信支付](https://b3logfile.com/file/2021/08/zhifubao-2619a5ff.jpg)