Home > Q&A > body text
我從database讀的號碼是00037可是寫進excel file 只拿到 37.000被吃掉了!! 這要怎麼弄啊...急.......
00037
37
000
PHP中文网2017-04-18 10:56:20
I don’t know how you write, you can try writing '00037
'00037
PHPz2017-04-18 10:56:20
Did you use POI? You can set the cell format to String
cell.setCellType(HSSFCell.CELL_TYPE_STRING);