excel - 要如何在號碼前面加0 ? JAVA
大家讲道理
大家讲道理 2017-04-18 10:54:20
0
2
443

我從database讀的號碼是00037可是寫進excel file 只拿到 37.000被吃掉了!! 這要怎麼弄啊...
急.......

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(2)
洪涛

I don’t know how you write, you can try writing '00037

PHPzhong

Did you use POI?
You can set the cell format to String

cell.setCellType(HSSFCell.CELL_TYPE_STRING);
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template