You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You might want to get cell value not how it is represented in the xlsx file and seen by Apache Poi, but as a String
There's method that does exactly this
We can provide an argument to specify what columns should be read by value methods like stringCellValue, numericCellValue, etc. and by formatCellValue
val style: CellStyle = getCellStyle()
val dataFormatter = DataFormatter()
val formattedCellValue = dataFormatter.formatCellValue(this, style)
return formattedCellValue
The text was updated successfully, but these errors were encountered:
You might want to get cell value not how it is represented in the xlsx file and seen by Apache Poi, but as a String
There's method that does exactly this
We can provide an argument to specify what columns should be read by value methods like stringCellValue, numericCellValue, etc. and by formatCellValue
The text was updated successfully, but these errors were encountered: