こんにちはIamは、データ形式の文字列が「$」#、## 0として返される特定の形式でExcelのセルを解析しています。そのセル内の値を取得したいのですが、取得できません。誰か助けてもらえますか?
現在、このコードでは空白として値を取得していますが、Excelでは値はたとえば$40です。
for (Row row : sheet)
{
Cell dataCell = row.getCell(colIndex);
if(dataCell!=null )
{
if( row.getRowNum()==5)
{
System.out.println("Cell Value is::"+dataCell.toString());
}
}
}