How to get the formatted value of a number for a cell in Apache POI?

前端 未结 2 1372
隐瞒了意图╮
隐瞒了意图╮ 2021-01-14 02:24

I wanted to get the value of a Numeric cell as a simple string.

Suppose there the type of cell is numeric with value 90%. Now I cannot use cell.ge

2条回答
  •  太阳男子
    2021-01-14 02:28

    Try

    cell.getRichStringCellValue ().getString();    
    

    Have a look at this example
    Here is Doc

提交回复
热议问题