https://bz.apache.org/bugzilla/show_bug.cgi?id=59670

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #4 from [email protected] ---
I have stepped through the code and if I am looking for the "PP1" sheet the
function will return the "PP1" sheet and it will print this out using
s.getSheetName(). When I then get the cell value using:

How I get the cell value:
private static double getCellValue(Cell cell) {
        switch (cell.getCellType()) {
            case Cell.CELL_TYPE_NUMERIC:
                return cell.getNumericCellValue();
            case Cell.CELL_TYPE_BLANK:
                return 0;
        }
      return 0;
}

double DOLabour = getCellValue(s.getRow(16).getCell(4))

It will actually return the value of the "Application" sheet not the "PP1"
sheet.

I have also noticed that when I loop through the sheets the first sheet is
called "Module1" not "PP1".

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to